Pass setup_logging the log file, not the whole opts structure.
This commit is contained in:
parent
ffa25dd609
commit
c3743c54bc
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user