summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2016-03-27 12:53:04 +0800
committerStephen Finucane <stephen.finucane@intel.com>2016-03-29 09:54:27 +0100
commitf0c10b90756e8fe902f1c743a0ae4460f39582be (patch)
treef33cb5830b3b806f58187f12c80b37bce5454b56 /lib
parent0984b831c420a8a9836258918c47c9aa5e575fba (diff)
downloadpatchwork-f0c10b90756e8fe902f1c743a0ae4460f39582be.tar
patchwork-f0c10b90756e8fe902f1c743a0ae4460f39582be.tar.gz
parsemail: Fix default value of verbosity argument
With the current parsemail.py, the default value for the verbosity argument does not exist in the VERBOSITY_LEVELS dict, so we get: Traceback (most recent call last): File "./patchwork/bin/parsemail.py", line 569, in <module> sys.exit(main(sys.argv)) File "./patchwork/bin/parsemail.py", line 555, in main logging.basicConfig(level=VERBOSITY_LEVELS[args['verbosity']]) KeyError: 20 This change uses an actual key instead. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Acked-by: Stephen Finucane <stephen.finucane@intel.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions