Make Atom.__init__ call the base class constructor, though it doesn't seem
authorZac Medico <zmedico@gentoo.org>
Mon, 21 Sep 2009 02:06:49 +0000 (02:06 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 21 Sep 2009 02:06:49 +0000 (02:06 -0000)
to matter.

svn path=/main/trunk/; revision=14313

pym/portage/dep.py

index 68e6c6b2222981a7b4dcf9e93ce3c9ea3d855836..ebdf1ea839066c361b0a1ede32b2f7d88df5aeae 100644 (file)
@@ -519,6 +519,8 @@ class Atom(_atom_base):
                        raise TypeError(_("Expected %s, got %s") % \
                                (_atom_base, type(s)))
 
+               _atom_base.__init__(s)
+
                if "!" == s[:1]:
                        blocker = self._blocker(forbid_overlap=("!" == s[1:2]))
                        if blocker.overlap.forbid: