Changeset 785

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

External requester seems to be finally ok now

Location:
pykota/trunk
Files:
5 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/po/en/pykota.po

    r780 r785  
    1515# 
    1616# $Log$ 
     17# Revision 1.5  2003/02/10 08:50:45  jalet 
     18# External requester seems to be finally ok now 
     19# 
    1720# Revision 1.4  2003/02/10 00:42:17  jalet 
    1821# External requester should be ok (untested) 
     
    202205msgstr "" 
    203206 
    204 msgid "Invalid requester for printer %s" 
     207msgid "Invalid requester %s for printer %s" 
    205208msgstr "" 
    206209 
  • pykota/trunk/po/fr/pykota.po

    r780 r785  
    1515# 
    1616# $Log$ 
     17# Revision 1.3  2003/02/10 08:50:45  jalet 
     18# External requester seems to be finally ok now 
     19# 
    1720# Revision 1.2  2003/02/10 00:42:17  jalet 
    1821# External requester should be ok (untested) 
     
    210213msgstr "D�ssement de Quota d'Impression pour l'utilisateur %s sur l'imprimante %s" 
    211214 
    212 msgid "Invalid requester for printer %s" 
    213 msgstr "Requester invalide pour l'imprimante %s" 
     215msgid "Invalid requester %s for printer %s" 
     216msgstr "Requester %s invalide pour l'imprimante %s" 
    214217 
    215218msgid "Unknown printer address in EXTERNAL(%s) for printer %s" 
  • pykota/trunk/po/pykota.pot

    r780 r785  
    1515# 
    1616# $Log$ 
     17# Revision 1.5  2003/02/10 08:50:45  jalet 
     18# External requester seems to be finally ok now 
     19# 
    1720# Revision 1.4  2003/02/10 00:42:17  jalet 
    1821# External requester should be ok (untested) 
     
    202205msgstr "" 
    203206 
    204 msgid "Invalid requester for printer %s" 
     207msgid "Invalid requester %s for printer %s" 
    205208msgstr "" 
    206209 
  • 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 :