Show
Ignore:
Timestamp:
01/18/08 23:39:41 (16 years ago)
Author:
jerome
Message:

Added modules to store utility functions and application
intialization code, which has nothing to do in classes.
Modified tool.py accordingly (far from being finished)
Use these new modules where necessary.
Now converts all command line arguments to unicode before
beginning to work. Added a proper logging method for already
encoded query strings.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/storages/mysqlstorage.py

    r3288 r3294  
    9898        try : 
    9999            before = time.time() 
    100             self.tool.logdebug("QUERY : %s" % query) 
     100            self.querydebug("QUERY : %s" % query) 
    101101            self.cursor.execute(query) 
    102102        except self.database.Error, msg :     
     
    137137        try : 
    138138            before = time.time() 
    139             self.tool.logdebug("QUERY : %s" % query) 
     139            self.querydebug("QUERY : %s" % query) 
    140140            self.cursor.execute(query) 
    141141        except self.database.Error, msg :