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

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

 



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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux