Show
Ignore:
Timestamp:
06/16/03 00:26:52 (21 years ago)
Author:
jalet
Message:

More work on LDAP

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/repykota

    r1021 r1030  
    2323# 
    2424# $Log$ 
     25# Revision 1.38  2003/06/15 22:26:52  jalet 
     26# More work on LDAP 
     27# 
    2528# Revision 1.37  2003/06/10 16:37:54  jalet 
    2629# Deletion of the second user which is not needed anymore. 
     
    225228                print _("Group           used    soft    hard    balance grace         total       paid")  
    226229                print "------------------------------------------------------------------------------" 
    227                 for (ident, name) in self.storage.getPrinterGroups(printerid) : 
     230                for (ident, name) in (self.storage.getPrinterGroups(printerid) or []) : 
    228231                    quota = self.storage.getGroupPQuota(ident, printerid)  
    229232                    balance = self.storage.getGroupBalance(ident) 
     
    236239                print _("User            used    soft    hard    balance grace         total       paid")  
    237240                print "------------------------------------------------------------------------------" 
    238                 for (ident, name) in self.storage.getPrinterUsers(printerid) : 
     241                for (ident, name) in (self.storage.getPrinterUsers(printerid) or []) : 
    239242                    quota = self.storage.getUserPQuota(ident, printerid) 
    240243                    balance = self.storage.getUserBalance(ident)