Changeset 1294
- Timestamp:
- 01/15/04 12:19:07 (21 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/edpykota
r1284 r1294 24 24 # 25 25 # $Log$ 26 # Revision 1.67 2004/01/15 11:19:07 jalet 27 # Typos in messages wrt gettext. 28 # 26 29 # Revision 1.66 2004/01/12 21:54:36 jalet 27 30 # User's email address can now be set at user's creation time. … … 439 442 balancevalue = float(balance) 440 443 except ValueError : 441 raise PyKotaToolError, _("Invalid balance value %s" % options["balance"])444 raise PyKotaToolError, _("Invalid balance value %s") % options["balance"] 442 445 443 446 if options["charge"] : … … 445 448 charges = [float(part) for part in options["charge"].split(',', 1)] 446 449 except ValueError : 447 raise PyKotaToolError, _("Invalid charge amount value %s" % options["charge"])450 raise PyKotaToolError, _("Invalid charge amount value %s") % options["charge"] 448 451 else : 449 452 if len(charges) > 2 : … … 456 459 limitby = limitby.strip().lower() 457 460 if limitby and (limitby not in ('quota', 'balance')) : 458 raise PyKotaToolError, _("Invalid limitby value %s" % options["limitby"])461 raise PyKotaToolError, _("Invalid limitby value %s") % options["limitby"] 459 462 460 463 if options["ingroups"] :