Changeset 1063 for pykota/trunk
- Timestamp:
- 07/05/03 14:32:07 (21 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/edpykota
r1043 r1063 23 23 # 24 24 # $Log$ 25 # Revision 1.49 2003/07/05 12:32:07 jalet 26 # Ensure that the user don't pass more than two prices for a printer. 27 # 25 28 # Revision 1.48 2003/06/25 19:52:30 jalet 26 29 # Should be ready for testing :-) … … 370 373 raise PyKotaToolError, _("Invalid charge amount value %s" % options["charge"]) 371 374 else : 372 if len(charges) <2 :373 charges .append(None)375 if len(charges) != 2 : 376 charges = [charges[0], None] 374 377 375 378 limitby = options["limitby"]