Changeset 706 for pykota/trunk

Show
Ignore:
Timestamp:
02/06/03 00:02:10 (22 years ago)
Author:
jalet
Message:

Typo

Files:
1 modified

Legend:

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

    r705 r706  
    1515# 
    1616# $Log$ 
     17# Revision 1.4  2003/02/05 23:02:10  jalet 
     18# Typo 
     19# 
    1720# Revision 1.3  2003/02/05 23:00:12  jalet 
    1821# Forgotten import 
     
    101104                 if softlimit <= pagecounter < hardlimit :     
    102105                     if datelimit is None : 
    103                          self.doQuery("UPDATE userpquota SET datelimit=%s::DATETIME WHERE userid=%s AND printerid=%s;" % (self.doQuote("%04i-%02i-%02i %02i:%02i" % (now.year, now.month, now.day, now.hour, now.minute), self.doQuote(self.getUserId(username)), self.doQuote(self.getPrinterId(printername)))) 
     106                         self.doQuery("UPDATE userpquota SET datelimit=%s::DATETIME WHERE userid=%s AND printerid=%s;" % (self.doQuote("%04i-%02i-%02i %02i:%02i" % (now.year, now.month, now.day, now.hour, now.minute)), self.doQuote(self.getUserId(username)), self.doQuote(self.getPrinterId(printername)))) 
    104107                         datelimit = now 
    105108                     if (now - datelimit) <= GRACEDELAY :