- Timestamp:
- 08/06/04 22:46:45 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/tool.py
r1665 r1666 22 22 # 23 23 # $Log$ 24 # Revision 1.118 2004/08/06 20:46:45 jalet 25 # Finished group quota fix for balance when no user in group has a balance 26 # 24 27 # Revision 1.117 2004/08/06 13:45:51 jalet 25 28 # Fixed french translation problem. … … 708 711 self.logdebug("Checking group %s's quota on printer %s" % (group.Name, printer.Name)) 709 712 if group.LimitBy and (group.LimitBy.lower() == "balance") : 710 val = group.AccountBalance 713 val = group.AccountBalance or 0.0 711 714 if enforcement == "STRICT" : 712 715 val -= self.softwareJobPrice # use precomputed size.