From c3743c54bc86032aff6c41a02e2b92da8000694e Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Wed, 3 Jun 2015 08:55:34 -0400 Subject: [PATCH] Pass setup_logging the log file, not the whole opts structure. --- src/sbin/lorax | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sbin/lorax b/src/sbin/lorax index 56a7209c..93e9ed7e 100755 --- a/src/sbin/lorax +++ b/src/sbin/lorax @@ -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)