mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-16 12:35:53 +00:00
Delete unused function
This commit is contained in:
parent
4467d3e2de
commit
552ecbee16
1 changed files with 0 additions and 10 deletions
|
|
@ -38,16 +38,6 @@ def catch_errors(f):
|
|||
return inner
|
||||
|
||||
|
||||
def validate_verbosity(ctx, param, value):
|
||||
x = getattr(logging.getLogger, value.upper(), None)
|
||||
if x is None:
|
||||
raise click.BadParameter(
|
||||
'Must be CRITICAL, ERROR, WARNING, INFO or DEBUG, not {}'
|
||||
.format(value)
|
||||
)
|
||||
return x
|
||||
|
||||
|
||||
def _check_python2():
|
||||
if PY2:
|
||||
cli_logger.warning('Python 2 support will be dropped. Please switch '
|
||||
|
|
|
|||
Loading…
Reference in a new issue