diff options
-rw-r--r-- | pym/portage/dbapi/vartree.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index a4a420328..28b67f0e6 100644 --- 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() |