Show
Ignore:
Timestamp:
02/10/03 09:50:45 (22 years ago)
Author:
jalet
Message:

External requester seems to be finally ok now

Files:
1 modified

Legend:

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

    r783 r785  
    1515# 
    1616# $Log$ 
     17# Revision 1.11  2003/02/10 08:50:45  jalet 
     18# External requester seems to be finally ok now 
     19# 
    1720# Revision 1.10  2003/02/10 08:19:57  jalet 
    1821# tell ConfigParser to return raw data, this allows our own strings 
     
    109112            fullrequester = self.config.get(printer, "requester", raw=1) 
    110113            try : 
    111                 (requester, args) = [x.strip() for x in fullrequester.split('(')] 
     114                (requester, args) = [x.strip() for x in fullrequester.split('(', 1)] 
    112115            except ValueError :     
    113                 raise PyKotaConfigError, _("Invalid requester for printer %s") % printer 
     116                raise PyKotaConfigError, _("Invalid requester %s for printer %s") % (fullrequester, printer) 
    114117            else : 
    115118                if requester not in validrequesters :