Bug 476957 - PackageOrderer.doLoggingSetup() doesn't follow latest yum api
PackageOrderer.doLoggingSetup() doesn't follow latest yum api
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: anaconda (Show other bugs)
All Linux
urgent Severity urgent
: rc
: ---
Assigned To: Anaconda Maintenance Team
Release Test Team
Depends On:
  Show dependency treegraph
Reported: 2008-12-18 05:00 EST by Daniel Mach
Modified: 2009-01-20 16:32 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-01-20 16:32:37 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Daniel Mach 2008-12-18 05:00:48 EST
yum: doLoggingSetup(self, debuglevel, errorlevel, syslog_ident=None, syslog_facility=None):
anaconda: doLoggingSetup(self, debuglevel, errorlevel)

when anaconda replaces this method in run-time, an exception is thrown, because anaconda's doLoggingSetup can handle only 2 arguments.

I'd propose to modify this method to:

def doLoggingSetup(self, *args, **kwargs):
Comment 1 Alexander Todorov 2008-12-18 05:08:36 EST
How to reproduce ?
Comment 8 errata-xmlrpc 2009-01-20 16:32:37 EST
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.