[yum-git] cli.py yum/config.py

James Antill james at linux.duke.edu
Thu Jun 12 06:26:18 UTC 2008


 cli.py        |    6 +++---
 yum/config.py |    1 +
 2 files changed, 4 insertions(+), 3 deletions(-)

New commits:
commit 90845c15d260d7916aa79800ccf054bed7ed81e3
Author: James Antill <james at and.org>
Date:   Thu Jun 12 02:26:10 2008 -0400

    Fix the stupid namespace import mismatches

diff --git a/cli.py b/cli.py
index f5e4767..15fae6c 100644
--- a/cli.py
+++ b/cli.py
@@ -167,10 +167,10 @@ class YumBaseCli(yum.YumBase, output.YumOutput):
         root = self.optparser.getRoot(opts)
 
         if opts.quiet:
-            opts.debuglevel = logginglevels.DEBUG_QUIET_LEVEL
+            opts.debuglevel = yum.logginglevels.DEBUG_QUIET_LEVEL
         if opts.verbose:
-            opts.debuglevel = logginglevels.DEBUG_VERBOSE_LEVEL
-            opts.errorlevel = logginglevels.ERROR_VERBOSE_LEVEL
+            opts.debuglevel = yum.logginglevels.DEBUG_VERBOSE_LEVEL
+            opts.errorlevel = yum.logginglevels.ERROR_VERBOSE_LEVEL
        
         # Read up configuration options and initialise plugins
         try:
diff --git a/yum/config.py b/yum/config.py
index b2d5d59..01604a3 100644
--- a/yum/config.py
+++ b/yum/config.py
@@ -31,6 +31,7 @@ from iniparse.compat import ParsingError
 import rpmUtils.transaction
 import rpmUtils.arch
 import Errors
+import logginglevels
 
 class Option(object):
     '''



More information about the Yum-cvs-commits mailing list