Yum api changed, follow so that we don't break.
This commit is contained in:
parent
bc18a1d4f3
commit
9ca05af1e9
@ -53,7 +53,7 @@ class PackageOrderer(yum.YumBase):
|
||||
def doFileLogSetup(self, uid, logfile):
|
||||
pass
|
||||
|
||||
def doLoggingSetup(self, debuglevel, errorlevel):
|
||||
def doLoggingSetup(self, debuglevel, errorlevel, syslog_ident=None, syslog_facility=None):
|
||||
pass
|
||||
|
||||
def setup(self, fn="/etc/yum.conf", root="/", excludes=[]):
|
||||
|
@ -74,7 +74,7 @@ class PungiYum(yum.YumBase):
|
||||
self.pungiconfig = config
|
||||
yum.YumBase.__init__(self)
|
||||
|
||||
def doLoggingSetup(self, debuglevel, errorlevel):
|
||||
def doLoggingSetup(self, debuglevel, errorlevel, syslog_ident=None, syslog_facility=None):
|
||||
"""Setup the logging facility."""
|
||||
|
||||
logdir = os.path.join(self.pungiconfig.get('default', 'destdir'), 'logs')
|
||||
|
Loading…
Reference in New Issue
Block a user