Changeset 1228 for pykota/trunk/pykota/storages/pgstorage.py
- Timestamp:
- 11/29/03 23:02:14 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storages/pgstorage.py
r1203 r1228 22 22 # 23 23 # $Log$ 24 # Revision 1.24 2003/11/29 22:02:14 jalet 25 # Don't try to retrieve the user print quota information if current printer 26 # doesn't exist. 27 # 24 28 # Revision 1.23 2003/11/23 19:01:37 jalet 25 29 # Job price added to history … … 250 254 """Extracts a user print quota.""" 251 255 userpquota = StorageUserPQuota(self, user, printer) 252 if user.Exists :256 if printer.Exists and user.Exists : 253 257 result = self.doSearch("SELECT id, lifepagecounter, pagecounter, softlimit, hardlimit, datelimit FROM userpquota WHERE userid=%s AND printerid=%s" % (self.doQuote(user.ident), self.doQuote(printer.ident))) 254 258 if result :