diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-07-12 04:50:13 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-07-12 04:50:13 +0000 |
commit | cdbd97d9a164135feaf552f5087266a41b565fa0 (patch) | |
tree | 588f0e4e63aa68599f6119473330f898e9ae7e06 | |
parent | ed5e644040ef454dcfc3da77a16829e23325b185 (diff) | |
download | portage-cdbd97d9a164135feaf552f5087266a41b565fa0.tar.gz portage-cdbd97d9a164135feaf552f5087266a41b565fa0.tar.bz2 portage-cdbd97d9a164135feaf552f5087266a41b565fa0.zip |
Fix the case where the currently installed package is from a repo that is no longer in the overlay (oldrepo is None rather than an empty string).
svn path=/main/trunk/; revision=7241
-rw-r--r-- | pym/emerge/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py index 87cabe624..97613e627 100644 --- a/pym/emerge/__init__.py +++ b/pym/emerge/__init__.py @@ -3015,7 +3015,7 @@ class depgraph(object): newrepoindex += 1 # assing lookup indexes - if oldrepo == "": + if not oldrepo: oldrepoindex = "?" elif oldrepo == pkgsettings["PORTDIR"]: oldrepoindex = "0" |