[yum-cvs] cli.py

Seth Vidal skvidal at linux.duke.edu
Wed Dec 5 13:11:02 UTC 2007


 cli.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit f89d6fc68c018721762819905a3c99a61d6bfc81
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Wed Dec 5 08:10:33 2007 -0500

    remove an = so the set functions

diff --git a/cli.py b/cli.py
index 39ddfba..a87048b 100644
--- a/cli.py
+++ b/cli.py
@@ -247,9 +247,9 @@ class YumBaseCli(yum.YumBase, output.YumOutput):
         disk = {}
         for m in p.finditer(errstring):
             if not disk.has_key(m.group(2)):
-                disk[m.group(2)]= int(m.group(1))
+                disk[m.group(2)] = int(m.group(1))
             if disk[m.group(2)] < int(m.group(1)):
-                disk[m.group(2)] == int(m.group(1))
+                disk[m.group(2)] = int(m.group(1))
                 
         if disk.keys():
            summary += 'Disk Requirements:\n'



More information about the Yum-cvs-commits mailing list