if self._remotepkgs is None due to PORTAGE_BINHOST being unset. (trunk r11951)
svn path=/main/branches/2.1.6/; revision=11952
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 \