Changeset 1084
- Timestamp:
- 07/14/03 16:18:17 (21 years ago)
- Location:
- pykota/trunk/pykota/storages
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storages/ldapstorage.py
r1081 r1084 21 21 # 22 22 # $Log$ 23 # Revision 1.19 2003/07/14 14:18:16 jalet 24 # Wrong documentation strings 25 # 23 26 # Revision 1.18 2003/07/11 14:23:13 jalet 24 27 # When adding an user only adds one object containing both the user and … … 625 628 626 629 def writeGroupPQuotaLimits(self, grouppquota, softlimit, hardlimit) : 627 """Sets soft and hard limits for a group quota on a specific printer given (groupid, printerid)."""630 """Sets soft and hard limits for a group quota on a specific printer.""" 628 631 fields = { 629 632 "pykotaSoftLimit" : str(softlimit), -
pykota/trunk/pykota/storages/pgstorage.py
r1079 r1084 21 21 # 22 22 # $Log$ 23 # Revision 1.8 2003/07/14 14:18:17 jalet 24 # Wrong documentation strings 25 # 23 26 # Revision 1.7 2003/07/09 20:17:07 jalet 24 27 # Email field added to PostgreSQL schema … … 402 405 403 406 def writeGroupPQuotaLimits(self, grouppquota, softlimit, hardlimit) : 404 """Sets soft and hard limits for a group quota on a specific printer given (groupid, printerid)."""407 """Sets soft and hard limits for a group quota on a specific printer.""" 405 408 self.doModify("UPDATE grouppquota SET softlimit=%s, hardlimit=%s, datelimit=NULL WHERE id=%s" % (self.doQuote(softlimit), self.doQuote(hardlimit), self.doQuote(grouppquota.ident))) 406 409