From: Zac Medico Date: Wed, 11 Jun 2008 09:15:39 +0000 (-0000) Subject: Handle InvalidDependString. X-Git-Tag: v2.2_rc1~43 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=caf77ebfd6e7338c33a19f9b65fed826bd12f8b6;p=portage.git Handle InvalidDependString. svn path=/main/trunk/; revision=10645 --- diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 63a0f34d1..0a5687e25 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -3538,8 +3538,13 @@ class depgraph(object): "ebuild", pkg.root_config) except KeyError: ebuild = None - if ebuild is None or \ - not visible(pkgsettings, ebuild): + else: + try: + if not visible(pkgsettings, ebuild): + ebuild = None + except portage.exception.InvalidDependString: + ebuild = None + if ebuild is None: self._masked_installed.add(pkg) blocker_atoms = None