Re: [PATCH] Make anaconda work with new API change in YUM. (#476957)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux