Minor adjustment and bug fix

This commit is contained in:
Bernardo Damele
2010-03-10 22:08:11 +00:00
parent 91dd609e26
commit fdf417f57e
2 changed files with 7 additions and 4 deletions

View File

@@ -1072,9 +1072,9 @@ def __setVerbosity():
if conf.verbose == 1:
logger.setLevel(logging.INFO)
elif conf.verbose > 1 and conf.eta:
conf.verbose = 1
logger.setLevel(logging.INFO)
elif conf.verbose > 2 and conf.eta:
conf.verbose = 2
logger.setLevel(logging.DEBUG)
elif conf.verbose == 2:
logger.setLevel(logging.DEBUG)
elif conf.verbose == 3: