diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-05-07 18:49:19 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-05-07 18:49:19 +0000 |
commit | 30612136631ec3a0ddf7d4ac24e80ea757a802b5 (patch) | |
tree | 3bd49189d9634436ec80f9bfdc1b408e87148f6b | |
parent | b290869f9ce7280d8d9238e4350c53e394964660 (diff) | |
download | portage-30612136631ec3a0ddf7d4ac24e80ea757a802b5.tar.gz portage-30612136631ec3a0ddf7d4ac24e80ea757a802b5.tar.bz2 portage-30612136631ec3a0ddf7d4ac24e80ea757a802b5.zip |
Tolerate InvalidDependString exceptions when checking visibility of
installed packages.
svn path=/main/trunk/; revision=10224
-rw-r--r-- | pym/_emerge/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index d2ff9af75..cc236633b 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -2884,7 +2884,8 @@ class depgraph(object): if not visible(pkgsettings, pkg): continue except portage.exception.InvalidDependString: - continue + if not installed: + continue # Enable upgrade or downgrade to a version # with visible KEYWORDS when the installed |