Changeset 723 for pykota/trunk
- Timestamp:
- 02/06/03 16:05:13 (22 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storages/sql.py
r722 r723 15 15 # 16 16 # $Log$ 17 # Revision 1.11 2003/02/06 15:05:13 jalet 18 # self was forgotten 19 # 17 20 # Revision 1.10 2003/02/06 15:03:11 jalet 18 21 # added a method to set the limit date … … 126 129 self.doQuery("UPDATE userpquota SET softlimit=%s, hardlimit=%s, datelimit=NULL WHERE userid=%s AND printerid=%s;" % (self.doQuote(softlimit), self.doQuote(hardlimit), self.doQuote(userid), self.doQuote(printerid))) 127 130 128 def setDateLimit( username, printername, datelimit) :131 def setDateLimit(self, username, printername, datelimit) : 129 132 """Sets the limit date for a soft limit to become an hard one given (username, printername).""" 130 133 (userid, printerid) = self.getUPIds(username, printername)