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

View File

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