| » Linux Archive |
|
Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.
|
| » Sponsor |
|
|
| » Sponsor |
|
|
|
|

12-18-2008, 09:14 AM
|
|
|
Make anaconda work with new API change in YUM. (#476957)
---
scripts/pkgorder | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scripts/pkgorder b/scripts/pkgorder
index 83c21aa..7722718 100755
--- a/scripts/pkgorder
+++ b/scripts/pkgorder
@@ -43,7 +43,7 @@ class PackageOrderer(YumSorter):
def doFileLogSetup(self, uid, logfile):
pass
- def doLoggingSetup(self, debuglevel, errorlevel):
+ def doLoggingSetup(self, *args, **kwargs):
pass
def setup(self, fn="/etc/yum.conf", root="/", excludes=[]):
--
1.5.6.5
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
|
|

12-18-2008, 09:15 AM
|
|
|
Make anaconda work with new API change in YUM. (#476957)
Joel Granados Moreno wrote:
---
scripts/pkgorder | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scripts/pkgorder b/scripts/pkgorder
index 83c21aa..7722718 100755
--- a/scripts/pkgorder
+++ b/scripts/pkgorder
@@ -43,7 +43,7 @@ class PackageOrderer(YumSorter):
def doFileLogSetup(self, uid, logfile):
pass
- def doLoggingSetup(self, debuglevel, errorlevel):
+ def doLoggingSetup(self, *args, **kwargs):
pass
def setup(self, fn="/etc/yum.conf", root="/", excludes=[]):
Looks good to me.
Regards,
Hans
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
|
|

12-18-2008, 01:11 PM
|
|
|
Make anaconda work with new API change in YUM. (#476957)
On Thu, 18 Dec 2008, Joel Granados Moreno wrote:
---
scripts/pkgorder | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scripts/pkgorder b/scripts/pkgorder
index 83c21aa..7722718 100755
--- a/scripts/pkgorder
+++ b/scripts/pkgorder
@@ -43,7 +43,7 @@ class PackageOrderer(YumSorter):
def doFileLogSetup(self, uid, logfile):
pass
- def doLoggingSetup(self, debuglevel, errorlevel):
+ def doLoggingSetup(self, *args, **kwargs):
pass
def setup(self, fn="/etc/yum.conf", root="/", excludes=[]):
Here's how doLoggingSetup is written in yum 3.2.20 - it was changed to add
the additional parameters in August of this year.
def doLoggingSetup(self, debuglevel, errorlevel,
syslog_ident=None, syslog_facility=None):
'
Perform logging related setup.
@param debuglevel: Debug logging level to use.
@param errorlevel: Error logging level to use.
'
why does pkgorder need to override doLoggingSetup?
-sv
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
|
|
|
All times are GMT. The time now is 02:59 AM.
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org
|