Changeset 1637

Show
Ignore:
Timestamp:
07/24/04 22:20:29 (20 years ago)
Author:
jalet
Message:

Unitialized variable

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/tool.py

    r1611 r1637  
    2222# 
    2323# $Log$ 
     24# Revision 1.116  2004/07/24 20:20:29  jalet 
     25# Unitialized variable 
     26# 
    2427# Revision 1.115  2004/07/21 09:35:48  jalet 
    2528# Software accounting seems to be OK with LPRng support now 
     
    601604        """Checks if a user or printer name is valid.""" 
    602605        invalidchars = "/@" 
    603         for c in invalidchars : 
     606        for c in list(invalidchars) : 
    604607            if c in name : 
    605608                return 0 
     
    851854                        self.sendMessageToUser(admin, adminmail, user, _("Print Quota Exceeded"), self.config.getHardWarn(printer.Name)) 
    852855                    else :     
    853                         self.externalMailTo(arguments, action, user, printer, message) 
     856                        self.externalMailTo(arguments, action, user, printer, self.config.getHardWarn(printer.Name)) 
    854857        elif action == "WARN" :     
    855858            adminmessage = _("Print Quota low for group %s on printer %s") % (group.Name, printer.Name)