From cdbd97d9a164135feaf552f5087266a41b565fa0 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 12 Jul 2007 04:50:13 +0000 Subject: 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 --- pym/emerge/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pym/emerge') 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" -- cgit v1.2.3-1-g7c22