Changeset 785
- Timestamp:
- 02/10/03 09:50:45 (22 years ago)
- Location:
- pykota/trunk
- Files:
-
- 5 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/po/en/pykota.po
r780 r785 15 15 # 16 16 # $Log$ 17 # Revision 1.5 2003/02/10 08:50:45 jalet 18 # External requester seems to be finally ok now 19 # 17 20 # Revision 1.4 2003/02/10 00:42:17 jalet 18 21 # External requester should be ok (untested) … … 202 205 msgstr "" 203 206 204 msgid "Invalid requester for printer %s"207 msgid "Invalid requester %s for printer %s" 205 208 msgstr "" 206 209 -
pykota/trunk/po/fr/pykota.po
r780 r785 15 15 # 16 16 # $Log$ 17 # Revision 1.3 2003/02/10 08:50:45 jalet 18 # External requester seems to be finally ok now 19 # 17 20 # Revision 1.2 2003/02/10 00:42:17 jalet 18 21 # External requester should be ok (untested) … … 210 213 msgstr "D�ssement de Quota d'Impression pour l'utilisateur %s sur l'imprimante %s" 211 214 212 msgid "Invalid requester for printer %s"213 msgstr "Requester invalide pour l'imprimante %s"215 msgid "Invalid requester %s for printer %s" 216 msgstr "Requester %s invalide pour l'imprimante %s" 214 217 215 218 msgid "Unknown printer address in EXTERNAL(%s) for printer %s" -
pykota/trunk/po/pykota.pot
r780 r785 15 15 # 16 16 # $Log$ 17 # Revision 1.5 2003/02/10 08:50:45 jalet 18 # External requester seems to be finally ok now 19 # 17 20 # Revision 1.4 2003/02/10 00:42:17 jalet 18 21 # External requester should be ok (untested) … … 202 205 msgstr "" 203 206 204 msgid "Invalid requester for printer %s"207 msgid "Invalid requester %s for printer %s" 205 208 msgstr "" 206 209 -
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 :