mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-11 11:46:02 +00:00
Make --verbosity case-insensitive
This commit is contained in:
parent
9041cfc6a9
commit
d41d974608
1 changed files with 1 additions and 0 deletions
|
|
@ -150,6 +150,7 @@ def _main(env, file_cfg):
|
|||
normal user.
|
||||
|
||||
'''
|
||||
verbosity = verbosity.upper()
|
||||
x = getattr(log.logging, verbosity, None)
|
||||
if x is None:
|
||||
raise ValueError(u'Invalid verbosity value: {}'.format(verbosity))
|
||||
|
|
|
|||
Loading…
Reference in a new issue