diff options
-rw-r--r-- | pym/portage/dbapi/bintree.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/dbapi/bintree.py b/pym/portage/dbapi/bintree.py index 96a5b0afa..000624819 100644 --- a/pym/portage/dbapi/bintree.py +++ b/pym/portage/dbapi/bintree.py @@ -970,7 +970,7 @@ class binarytree(object): def isremote(self, pkgname): """Returns true if the package is kept remotely and it has not been downloaded (or it is only partially downloaded).""" - if pkgname not in self._remotepkgs: + if self._remotepkgs is None or pkgname not in self._remotepkgs: return False pkg_path = self.getname(pkgname) if os.path.exists(pkg_path) and \ |