Changeset 1030 for pykota/trunk/bin
- Timestamp:
- 06/16/03 00:26:52 (21 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/repykota
r1021 r1030 23 23 # 24 24 # $Log$ 25 # Revision 1.38 2003/06/15 22:26:52 jalet 26 # More work on LDAP 27 # 25 28 # Revision 1.37 2003/06/10 16:37:54 jalet 26 29 # Deletion of the second user which is not needed anymore. … … 225 228 print _("Group used soft hard balance grace total paid") 226 229 print "------------------------------------------------------------------------------" 227 for (ident, name) in self.storage.getPrinterGroups(printerid) :230 for (ident, name) in (self.storage.getPrinterGroups(printerid) or []) : 228 231 quota = self.storage.getGroupPQuota(ident, printerid) 229 232 balance = self.storage.getGroupBalance(ident) … … 236 239 print _("User used soft hard balance grace total paid") 237 240 print "------------------------------------------------------------------------------" 238 for (ident, name) in self.storage.getPrinterUsers(printerid) :241 for (ident, name) in (self.storage.getPrinterUsers(printerid) or []) : 239 242 quota = self.storage.getUserPQuota(ident, printerid) 240 243 balance = self.storage.getUserBalance(ident)