From 9ca05af1e90d0c995304f3aba33397dd32fee131 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Fri, 29 Aug 2008 10:55:25 -0700 Subject: [PATCH] Yum api changed, follow so that we don't break. --- src/bin/pkgorder | 2 +- src/pypungi/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/pkgorder b/src/bin/pkgorder index bc80c787..ce1da417 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 a7736003..b28114e0 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')