Changeset 2296

Show
Ignore:
Timestamp:
06/08/05 23:25:13 (19 years ago)
Author:
jerome
Message:

Forbid the simultaneous use of --format=cups --datatype=history --sum

Files:
1 modified

Legend:

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

    r2295 r2296  
    9191        format = options["format"] 
    9292        if (format not in self.validformats.keys()) \ 
    93               or ((format == "cups") and (datatype != "history")) : 
     93              or ((format == "cups") and ((datatype != "history") or options["sum"])) : 
    9494            raise PyKotaToolError, _("Invalid modifier [%s] for --format command line option, see help.") % format 
    9595