From 9ca05af1e90d0c995304f3aba33397dd32fee131 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Aug 29 2008 17:55:25 +0000 Subject: Yum api changed, follow so that we don't break. --- diff --git a/src/bin/pkgorder b/src/bin/pkgorder index bc80c78..ce1da41 100755 --- a/src/bin/pkgorder +++ b/src/bin/pkgorder @@ -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=[]): diff --git a/src/pypungi/__init__.py b/src/pypungi/__init__.py index a773600..b28114e 100644 --- a/src/pypungi/__init__.py +++ b/src/pypungi/__init__.py @@ -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')