Pass setup_logging the log file, not the whole opts structure.

This commit is contained in:
Chris Lumens 2015-06-03 08:55:34 -04:00
parent ffa25dd609
commit c3743c54bc
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ import dnf
import pylorax
def setup_logging(opts):
pylorax.setup_logging(opts, log)
pylorax.setup_logging(opts.logfile, log)
# dnf logging
dnf_log.setLevel(logging.DEBUG)