summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2007-03-26 05:28:22 +0000
committerAlec Warner <antarus@gentoo.org>2007-03-26 05:28:22 +0000
commit21f08f31098004fd65c63555e6b052eccdb15661 (patch)
tree89011bcf0aa62215350dfbbfcb38a439c7689ddb
parent3c9cb161da093b7f8fc6ede9ea694163347c0a22 (diff)
downloadportage-21f08f31098004fd65c63555e6b052eccdb15661.tar.gz
portage-21f08f31098004fd65c63555e6b052eccdb15661.tar.bz2
portage-21f08f31098004fd65c63555e6b052eccdb15661.zip
fix broken PortageModule classes
svn path=/main/trunk/; revision=6290
-rw-r--r--pym/portage/env/config.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pym/portage/env/config.py b/pym/portage/env/config.py
index 127e906d5..3bac9a3a5 100644
--- a/pym/portage/env/config.py
+++ b/pym/portage/env/config.py
@@ -129,6 +129,8 @@ class PortageModules(UserDict):
"""
Base Class for user level module over-rides
"""
+
+ data = {}
def __init__(self, loader):
self._loader = loader
@@ -159,4 +161,4 @@ class PortageModulesFile(PortageModules):
default_loader = KeyValuePairFileLoader
def __init__(self, filename):
- PortageModules.__init__(self, default_loader(filename))
+ PortageModules.__init__(self, self.default_loader(filename))