[yum-cvs] rpmUtils/arch.py

Luke Macken lmacken at linux.duke.edu
Fri Nov 30 19:01:02 UTC 2007


 rpmUtils/arch.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b39a5a7ada100ede8809c3d4a04455898ff70f8f
Author: Luke Macken <lmacken at redhat.com>
Date:   Fri Nov 30 14:00:36 2007 -0500

    s/=/==/ with comparison in getCanonX86Arch

diff --git a/rpmUtils/arch.py b/rpmUtils/arch.py
index b710015..02df57c 100644
--- a/rpmUtils/arch.py
+++ b/rpmUtils/arch.py
@@ -154,7 +154,7 @@ def getArchList(thisarch=None):
 
 def getCanonX86Arch(arch):
     # 
-    if arch = "i586":
+    if arch == "i586":
         f = open("/proc/cpuinfo", "r")
         lines = f.readlines()
         f.close()



More information about the Yum-cvs-commits mailing list