projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35b332e
)
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:36:14 +0000
(12:36 -0700)
pym/portage/dbapi/vartree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/vartree.py
b/pym/portage/dbapi/vartree.py
index 7bef2fcff7eca985a73d2f6a47ef55f9b3137de2..156defc556952539e525a322cf226f7c911f99cb 100644
(file)
--- a/
pym/portage/dbapi/vartree.py
+++ b/
pym/portage/dbapi/vartree.py
@@
-3292,9
+3292,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()