Skip to content

Commit

Permalink
SQLite writer will need pyparadox database information for table name.
Browse files Browse the repository at this point in the history
  • Loading branch information
grigoryvp committed Mar 2, 2012
1 parent 558bd45 commit 5dc82cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions parabridge_daemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,14 @@ def processParadoxFile( self, i_sGuid, i_sSrc, i_oConn ) :
if nIndexLast is not None and nIndexLast >= nIndex :
raise Exception( "Consistency error." )
nIndexLast = nIndex
self.processParadoxRecord( oRecord, i_oConn )
self.processParadoxRecord( oDb, oRecord, i_oConn )
Settings.indexLastSet( i_sGuid, sFile, nIndexLast )
except pyparadox.Shutdown :
return False
return True

def processParadoxRecord( self, i_oRecord, i_oConn ) :
pass
def processParadoxRecord( self, i_oDb, i_oRecord, i_oConn ) :
sTableName = i_oDb.table_name

def shutdown( self ) :
self.m_fShutdown = True
Expand Down

0 comments on commit 5dc82cc

Please sign in to comment.