Changeset 2536

Show
Ignore:
Timestamp:
10/03/05 17:03:05 (19 years ago)
Author:
jerome
Message:

In fact, there was NO bug at all, only me misreading the command's help :-)
Severity : I'm stupid !

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/dumper.py

    r2535 r2536  
    9191                     
    9292        format = options["format"] 
    93         if format not in self.validformats.keys() : 
     93        if format not in self.validformats.keys() \ 
     94           or ((format == "cups") and (datatype == "history") and options["sum"]) : 
    9495            raise PyKotaCommandLineError, _("Invalid modifier [%s] for --format command line option, see help.") % format 
    9596