From: Alec Warner Date: Mon, 26 Mar 2007 05:28:22 +0000 (-0000) Subject: fix broken PortageModule classes X-Git-Tag: v2.2_pre1~1533 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=21f08f31098004fd65c63555e6b052eccdb15661;p=portage.git fix broken PortageModule classes svn path=/main/trunk/; revision=6290 --- 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))