Fix inverted logic error.
authorZac Medico <zmedico@gentoo.org>
Thu, 25 Oct 2007 00:05:39 +0000 (00:05 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 25 Oct 2007 00:05:39 +0000 (00:05 -0000)
svn path=/main/trunk/; revision=8284

pym/_emerge/__init__.py

index 25ea3267b9e4c1fd2dc8bf1bbbac340c8ff3f00d..971ba4901830004311fa0c91fb47dc08e96df753 100644 (file)
@@ -1289,7 +1289,7 @@ class depgraph(object):
 
        def create(self, *args, **kwargs):
                if not self._add_pkg(*args, **kwargs):
-                       return 1
+                       return 0
                return self._create_graph()
 
        def _add_pkg(self, pkg, myparent=None, addme=1,