summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-03-11 11:02:57 -0400
committerChris Lumens <clumens@redhat.com>2009-03-11 11:04:14 -0400
commitda7c7822fd617f037fd35ac9e6a5e0a62eb72aed (patch)
tree30ae8a8f7e8bcbc670d3f1aa5edddf27fc368850
parent270003cd1f0c09a77608c4b0a07687c822f56274 (diff)
downloadanaconda-da7c7822fd617f037fd35ac9e6a5e0a62eb72aed.tar.gz
anaconda-da7c7822fd617f037fd35ac9e6a5e0a62eb72aed.tar.xz
anaconda-da7c7822fd617f037fd35ac9e6a5e0a62eb72aed.zip
doLoggingSetup keeps growing new arguments, so put them into a dict (#489709).
We don't even use any of the arguments to doLoggingSetup so there's no point in listing them all in the function header. This should prevent us from hitting this bug again.
-rw-r--r--yuminstall.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/yuminstall.py b/yuminstall.py
index 2d63dac5d..f17ab98dd 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -575,8 +575,7 @@ class AnacondaYum(YumSorter):
YumSorter.getReposFromConfig(self)
# Override this method so yum doesn't nuke our existing logging config.
- def doLoggingSetup(self, debuglevel, errorlevel, syslog_indent=None,
- syslog_facility=None):
+ def doLoggingSetup(self, debuglevel, errorlevel, **kwargs):
pass
def doConfigSetup(self, fn='/tmp/anaconda-yum.conf', root='/'):