From: Zac Medico Date: Thu, 12 Jul 2007 04:50:13 +0000 (-0000) Subject: Fix the case where the currently installed package is from a repo that is no longer... X-Git-Tag: v2.2_pre1~1038 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cdbd97d9a164135feaf552f5087266a41b565fa0;p=portage.git 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 --- 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"