Remember to call the superclass constructor.
authorZac Medico <zmedico@gentoo.org>
Thu, 24 May 2007 05:17:31 +0000 (05:17 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 24 May 2007 05:17:31 +0000 (05:17 -0000)
svn path=/main/trunk/; revision=6612

pym/portage/dep.py

index 927cc6ae110237bf12eb5cc5b546214f4ecefcd4..98dda59f21f9b9e86abac0af2b1893ea12300b47 100644 (file)
@@ -118,6 +118,7 @@ class paren_normalize(list):
        """Take a dependency structure as returned by paren_reduce or use_reduce
        and generate an equivalent structure that has no redundant lists."""
        def __init__(self, src):
+               list.__init__(self)
                self._zap_parens(src, self)
 
        def _zap_parens(self, src, dest, disjunction=False):