projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9f3f0b
)
treewalk: always initialize "needed"
author
Zac Medico
<zmedico@gentoo.org>
Sun, 8 May 2011 19:31:07 +0000
(12:31 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 8 May 2011 19:31:07 +0000
(12:31 -0700)
pym/portage/dbapi/vartree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/vartree.py
b/pym/portage/dbapi/vartree.py
index a4a42032871f30ac84f2a7e6ab39676014b03936..28b67f0e66b36cd4fd7f26e66baa0ac9ab195c73 100644
(file)
--- a/
pym/portage/dbapi/vartree.py
+++ b/
pym/portage/dbapi/vartree.py
@@
-3324,9
+3324,9
@@
class dblink(object):
linkmap = self.vartree.dbapi._linkmap
plib_registry = self.vartree.dbapi._plib_registry
include_file = None
- if linkmap is None or plib_registry is None:
-
preserve_paths
= None
-
else
:
+ preserve_paths = None
+
needed
= None
+
if not (linkmap is None or plib_registry is None)
:
plib_registry.lock()
try:
plib_registry.load()