Delete unused function

This commit is contained in:
Hugo Osvaldo Barrera 2016-03-09 18:57:02 -03:00
parent 4467d3e2de
commit 552ecbee16

View file

@ -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 '