- Timestamp:
- 06/24/08 00:27:07 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/commandline.py
r3369 r3387 58 58 59 59 def checkandset_positivefloat(option, opt, value, optionparser) : 60 """Checks if an option argument is a positive integerand validates the option if it is the case."""60 """Checks if an option argument is a positive float and validates the option if it is the case.""" 61 61 if not (value >= 0.0) : 62 62 loginvalidparam(opt, value, option.default, \ … … 76 76 77 77 def load_arguments_file(option, opt, value, optionparser) : 78 """ Checks if an option argument is comprised between 0.0 included and 100.0 not included, and validates the option if it is the case."""78 """Loads arguments from a file, one per line.""" 79 79 setattr(optionparser.values, option.dest, value) 80 80 try :