Changeset 956 for pykota/trunk/bin
- Timestamp:
- 04/24/03 13:53:48 (22 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/pykota
r952 r956 23 23 # 24 24 # $Log$ 25 # Revision 1.25 2003/04/24 11:53:48 jalet 26 # Default policy for unknown users/groups is to DENY printing instead 27 # of the previous default to ALLOW printing. This is to solve an accuracy 28 # problem. If you set the policy to ALLOW, jobs printed by in nexistant user 29 # (from PyKota's POV) will be charged to the next user who prints on the 30 # same printer. 31 # 25 32 # Revision 1.24 2003/04/23 22:13:56 jalet 26 33 # Preliminary support for LPRng added BUT STILL UNTESTED. … … 196 203 # log a message in any case. 197 204 policy = kotafilter.config.getPrinterPolicy(kotafilter.printername) 198 if policy in [None, "ALLOW"]:205 if policy == "ALLOW" : 199 206 action = "POLICY_ALLOW" 200 207 else :