Changeset 781
- Timestamp:
- 02/10/03 01:44:38 (22 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/config.py
r780 r781 15 15 # 16 16 # $Log$ 17 # Revision 1.9 2003/02/10 00:44:38 jalet 18 # Typos 19 # 17 20 # Revision 1.8 2003/02/10 00:42:17 jalet 18 21 # External requester should be ok (untested) … … 102 105 fullrequester = self.config.get(printer, "requester") 103 106 try : 104 (requester, args) = [x.strip() for x in fullrequester.split('(') )]107 (requester, args) = [x.strip() for x in fullrequester.split('(')] 105 108 except ValueError : 106 109 raise PyKotaConfigError, _("Invalid requester for printer %s") % printer … … 135 138 """Returns the requester backend to use for a given printer, with its arguments.""" 136 139 fullrequester = self.config.get(printer, "requester") 137 (requester, args) = [x.strip() for x in fullrequester.split('(') )]140 (requester, args) = [x.strip() for x in fullrequester.split('(')] 138 141 if args.endswith(')') : 139 142 args = args[:-1]