Changeset 1115 for pykota/trunk/pykota/storages/pgstorage.py
- Timestamp:
- 08/17/03 16:20:25 (21 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storages/pgstorage.py
r1113 r1115 21 21 # 22 22 # $Log$ 23 # Revision 1.12 2003/08/17 14:20:25 jalet 24 # Bug fix by Oleg Biteryakov 25 # 23 26 # Revision 1.11 2003/07/29 20:55:17 jalet 24 27 # 1.14 is out ! … … 385 388 def writeUserPQuotaDateLimit(self, userpquota, datelimit) : 386 389 """Sets the date limit permanently for a user print quota.""" 387 self.doModify("UPDATE userpquota SET datelimit ::TIMESTAMP=%s WHERE id=%s" % (self.doQuote(datelimit), self.doQuote(userpquota.ident)))390 self.doModify("UPDATE userpquota SET datelimit=%s WHERE id=%s" % (self.doQuote(datelimit), self.doQuote(userpquota.ident))) 388 391 389 392 def writeGroupPQuotaDateLimit(self, grouppquota, datelimit) : 390 393 """Sets the date limit permanently for a group print quota.""" 391 self.doModify("UPDATE grouppquota SET datelimit ::TIMESTAMP=%s WHERE id=%s" % (self.doQuote(datelimit), self.doQuote(grouppquota.ident)))394 self.doModify("UPDATE grouppquota SET datelimit=%s WHERE id=%s" % (self.doQuote(datelimit), self.doQuote(grouppquota.ident))) 392 395 393 396 def writeUserPQuotaPagesCounters(self, userpquota, newpagecounter, newlifepagecounter) :