summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-10-25 00:05:39 +0000
committerZac Medico <zmedico@gentoo.org>2007-10-25 00:05:39 +0000
commit73cac25e4929c2a6f025b6056856b266f962ac75 (patch)
treee8eb5f94b4f12477279a2c4c20628ff559968d57
parent8883d653c670f2b7ec4a588f77bd6de3ed0f2556 (diff)
downloadportage-73cac25e4929c2a6f025b6056856b266f962ac75.tar.gz
portage-73cac25e4929c2a6f025b6056856b266f962ac75.tar.bz2
portage-73cac25e4929c2a6f025b6056856b266f962ac75.zip
Fix inverted logic error.
svn path=/main/trunk/; revision=8284
-rw-r--r--pym/_emerge/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 25ea3267b..971ba4901 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -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,