Changeset 785 for pykota/trunk/pykota/config.py
- Timestamp:
- 02/10/03 09:50:45 (22 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/config.py
r783 r785 15 15 # 16 16 # $Log$ 17 # Revision 1.11 2003/02/10 08:50:45 jalet 18 # External requester seems to be finally ok now 19 # 17 20 # Revision 1.10 2003/02/10 08:19:57 jalet 18 21 # tell ConfigParser to return raw data, this allows our own strings … … 109 112 fullrequester = self.config.get(printer, "requester", raw=1) 110 113 try : 111 (requester, args) = [x.strip() for x in fullrequester.split('(' )]114 (requester, args) = [x.strip() for x in fullrequester.split('(', 1)] 112 115 except ValueError : 113 raise PyKotaConfigError, _("Invalid requester for printer %s") % printer116 raise PyKotaConfigError, _("Invalid requester %s for printer %s") % (fullrequester, printer) 114 117 else : 115 118 if requester not in validrequesters :