[yum-commits] Branch 'yum-3_2_X' - yummain.py

James Antill james at osuosl.org
Fri Dec 18 00:55:04 UTC 2009


 yummain.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 386a455c40e932c2eb2d97b04ad99960b2ff4612
Author: James Antill <james at and.org>
Date:   Thu Dec 17 19:54:58 2009 -0500

    Fix tuple typo, stupid language syntax

diff --git a/yummain.py b/yummain.py
index caaeaf8..e8dd43c 100755
--- a/yummain.py
+++ b/yummain.py
@@ -198,7 +198,7 @@ def main(args):
         return exIOError(e)
 
     # rpm_check_debug failed.
-    if type(return_code) == type(,) and len(return_code) == 2:
+    if type(return_code) == type((0,)) and len(return_code) == 2:
         (result, resultmsgs) = return_code
         for msg in resultmsgs:
             logger.critical("%s", msg)


More information about the Yum-commits mailing list