1 |
commit: bc372d37ec55bf3ff0b38942f9c6080f3ca61a75 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 21 13:09:46 2011 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 21 13:09:46 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=bc372d37 |
7 |
|
8 |
_prune_plib_registry: correct _match_contents use |
9 |
|
10 |
--- |
11 |
pym/portage/dbapi/vartree.py | 2 +- |
12 |
1 files changed, 1 insertions(+), 1 deletions(-) |
13 |
|
14 |
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py |
15 |
index cd93a12..60d52a8 100644 |
16 |
--- a/pym/portage/dbapi/vartree.py |
17 |
+++ b/pym/portage/dbapi/vartree.py |
18 |
@@ -1532,7 +1532,7 @@ class dblink(object): |
19 |
if unmerge_preserve: |
20 |
for path in sorted(unmerge_preserve): |
21 |
contents_key = self._match_contents(path) |
22 |
- if contents_key is None: |
23 |
+ if not contents_key: |
24 |
continue |
25 |
obj_type = self.getcontents()[contents_key][0] |
26 |
self._display_merge(_(">>> needed %s %s\n") % \ |