Changeset 747 for pykota/trunk/pykota/config.py
- Timestamp:
- 02/07/03 23:00:09 (22 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/config.py
r731 r747 15 15 # 16 16 # $Log$ 17 # Revision 1.6 2003/02/07 22:00:09 jalet 18 # Bad cut&paste 19 # 17 20 # Revision 1.5 2003/02/06 23:58:05 jalet 18 21 # repykota should be ok … … 87 90 validpolicies = [ "ALLOW", "DENY" ] 88 91 if self.config.get(printer, "policy").upper() not in validpolicies : 89 raise PyKotaConfigError, "Option policy in section %s only supports values in %s" % (printer, str(valid requesters))92 raise PyKotaConfigError, "Option policy in section %s only supports values in %s" % (printer, str(validpolicies)) 90 93 91 94 validrequesters = [ "snmp" ] # TODO : add more requesters