projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bcc4a2
)
_prune_plib_registry: correct _match_contents use
author
Zac Medico
<zmedico@gentoo.org>
Sat, 21 May 2011 13:09:46 +0000
(06:09 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 26 May 2011 03:47:24 +0000
(20:47 -0700)
pym/portage/dbapi/vartree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/vartree.py
b/pym/portage/dbapi/vartree.py
index d0fb86c498b418d9753f7d9d51ea61b3a4884bda..566861ef022e05f4a8188a1e75d25f8237c23e0a 100644
(file)
--- a/
pym/portage/dbapi/vartree.py
+++ b/
pym/portage/dbapi/vartree.py
@@
-1507,7
+1507,7
@@
class dblink(object):
if unmerge_preserve:
for path in sorted(unmerge_preserve):
contents_key = self._match_contents(path)
- if
contents_key is None
:
+ if
not contents_key
:
continue
obj_type = self.getcontents()[contents_key][0]
self._display_merge(_(">>> needed %s %s\n") % \