Changeset 1637
- Timestamp:
- 07/24/04 22:20:29 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/tool.py
r1611 r1637 22 22 # 23 23 # $Log$ 24 # Revision 1.116 2004/07/24 20:20:29 jalet 25 # Unitialized variable 26 # 24 27 # Revision 1.115 2004/07/21 09:35:48 jalet 25 28 # Software accounting seems to be OK with LPRng support now … … 601 604 """Checks if a user or printer name is valid.""" 602 605 invalidchars = "/@" 603 for c in invalidchars:606 for c in list(invalidchars) : 604 607 if c in name : 605 608 return 0 … … 851 854 self.sendMessageToUser(admin, adminmail, user, _("Print Quota Exceeded"), self.config.getHardWarn(printer.Name)) 852 855 else : 853 self.externalMailTo(arguments, action, user, printer, message)856 self.externalMailTo(arguments, action, user, printer, self.config.getHardWarn(printer.Name)) 854 857 elif action == "WARN" : 855 858 adminmessage = _("Print Quota low for group %s on printer %s") % (group.Name, printer.Name)