FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 10-21-2010, 04:53 PM
Chris Lumens
 
Default 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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 10-21-2010, 06:49 PM
"Brian C. Lane"
 
Default Fix import to not drag in a conflicting ConfigParser.

On Thu, Oct 21, 2010 at 12:53:20PM -0400, Chris Lumens wrote:
> 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(-)

Ack to both

--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 06:08 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org