Changeset 747 for pykota/trunk

Show
Ignore:
Timestamp:
02/07/03 23:00:09 (22 years ago)
Author:
jalet
Message:

Bad cut&paste

Files:
1 modified

Legend:

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

    r731 r747  
    1515# 
    1616# $Log$ 
     17# Revision 1.6  2003/02/07 22:00:09  jalet 
     18# Bad cut&paste 
     19# 
    1720# Revision 1.5  2003/02/06 23:58:05  jalet 
    1821# repykota should be ok 
     
    8790            validpolicies = [ "ALLOW", "DENY" ]      
    8891            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(validrequesters)) 
     92                raise PyKotaConfigError, "Option policy in section %s only supports values in %s" % (printer, str(validpolicies)) 
    9093             
    9194            validrequesters = [ "snmp" ] # TODO : add more requesters