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

[PATCH 1/2] Fix import to not drag in a conflicting ConfigParser.



The "from product import *" ends up pulling in ConfigParser, which overrides
the "from ConfigParser import ConfigParser" in yuminstall.py.
---
 pyanaconda/yuminstall.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/yuminstall.py b/pyanaconda/yuminstall.py
index d2b7ff5..e00ea8f 100644
--- a/pyanaconda/yuminstall.py
+++ b/pyanaconda/yuminstall.py
@@ -48,7 +48,7 @@ from yum.Errors import *
 from yum.misc import to_unicode
 from yum.yumRepo import YumRepository
 from backend import AnacondaBackend
-from product import *
+from product import isBeta, productName, productVersion, productStamp
 from constants import *
 from image import *
 from compssort import *
-- 
1.7.1.1


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