Changeset 3183 for pykota

Show
Ignore:
Timestamp:
05/30/07 21:12:43 (17 years ago)
Author:
jerome
Message:

Removed unnecessary debug messages.

Location:
pykota/trunk/pykota/storages
Files:
2 modified

Legend:

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

    r3138 r3183  
    8282        after = time.time() 
    8383        self.tool.logdebug("Transaction committed.") 
    84         self.tool.logdebug("Transaction duration : %.4f seconds" % (after - self.before)) 
     84        #self.tool.logdebug("Transaction duration : %.4f seconds" % (after - self.before)) 
    8585         
    8686    def rollbackTransaction(self) :      
     
    8989        after = time.time() 
    9090        self.tool.logdebug("Transaction aborted.") 
    91         self.tool.logdebug("Transaction duration : %.4f seconds" % (after - self.before)) 
     91        #self.tool.logdebug("Transaction duration : %.4f seconds" % (after - self.before)) 
    9292         
    9393    def doRawSearch(self, query) : 
     
    106106            result = self.cursor.fetchall() 
    107107            after = time.time() 
    108             self.tool.logdebug("Query Duration : %.4f seconds" % (after - before)) 
     108            #self.tool.logdebug("Query Duration : %.4f seconds" % (after - before)) 
    109109            return result 
    110110             
     
    144144        else :     
    145145            after = time.time() 
    146             self.tool.logdebug("Query Duration : %.4f seconds" % (after - before)) 
     146            #self.tool.logdebug("Query Duration : %.4f seconds" % (after - before)) 
    147147             
    148148    def doQuote(self, field) : 
  • pykota/trunk/pykota/storages/sqlitestorage.py

    r3133 r3183  
    6565        after = time.time() 
    6666        self.tool.logdebug("Transaction committed.") 
    67         self.tool.logdebug("Transaction duration : %.4f seconds" % (after - self.before)) 
     67        #self.tool.logdebug("Transaction duration : %.4f seconds" % (after - self.before)) 
    6868         
    6969    def rollbackTransaction(self) :      
     
    7272        after = time.time() 
    7373        self.tool.logdebug("Transaction aborted.") 
    74         self.tool.logdebug("Transaction duration : %.4f seconds" % (after - self.before)) 
     74        #self.tool.logdebug("Transaction duration : %.4f seconds" % (after - self.before)) 
    7575         
    7676    def doRawSearch(self, query) : 
     
    8888            result = self.cursor.fetchall() 
    8989            after = time.time() 
    90             self.tool.logdebug("Query Duration : %.4f seconds" % (after - before)) 
     90            #self.tool.logdebug("Query Duration : %.4f seconds" % (after - before)) 
    9191            return result 
    9292             
     
    125125        else :     
    126126            after = time.time() 
    127             self.tool.logdebug("Query Duration : %.4f seconds" % (after - before)) 
     127            #self.tool.logdebug("Query Duration : %.4f seconds" % (after - before)) 
    128128             
    129129    def doQuote(self, field) :