Changeset 1810 for pykota/trunk
- Timestamp:
- 10/12/04 19:08:32 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/warnpykota
r1808 r1810 24 24 # 25 25 # $Log$ 26 # Revision 1.36 2004/10/12 17:08:32 jalet 27 # alreadydone mapping was reset in each iteration, this is fixed. 28 # 26 29 # Revision 1.35 2004/10/12 09:14:03 jalet 27 30 # Ensures that warnpykota still test other quota entries for each user if … … 239 242 if not printers : 240 243 raise PyKotaToolError, _("There's no printer matching %s") % options["printer"] 244 alreadydone = {} 241 245 for printer in printers : 242 246 if options["groups"] : … … 244 248 self.warnGroupPQuota(grouppquota) 245 249 else : 246 alreadydone = {}247 250 for (user, userpquota) in self.storage.getPrinterUsersAndQuotas(printer, ugnames) : 248 251 # we only want to warn users who have ever printed something