Finally remove deprecated -d/--debug option.

This commit is contained in:
Darko Poljak 2017-06-30 09:08:22 +02:00 committed by Steven Armstrong
commit cef1d215b2
3 changed files with 9 additions and 28 deletions

View file

@ -40,12 +40,10 @@ def commandline():
args = parser['main'].parse_args(sys.argv[1:])
# Loglevels are handled globally in here
retval = cdist.argparse.handle_loglevel(args)
if retval:
log.warning(retval)
cdist.argparse.handle_loglevel(args)
log.trace(args)
log.info("version %s" % cdist.VERSION)
log.trace(args)
# Work around python 3.3 bug:
# http://bugs.python.org/issue16308