Handle a potential InvalidDependString exception inside
authorZac Medico <zmedico@gentoo.org>
Sat, 5 Apr 2008 18:30:11 +0000 (18:30 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 5 Apr 2008 18:30:11 +0000 (18:30 -0000)
CompositeDbapi.match().

svn path=/main/trunk/; revision=9720

pym/_emerge/__init__.py

index 6134093326446a49fb304ca9f213d6fceb457433..f40cf46cc5227b9478f0a84c604463c47fbafa2e 100644 (file)
@@ -1446,6 +1446,8 @@ class CompositeDbapi(object):
                                        self._depgraph._iter_args_for_pkg(pkg).next()
                                except StopIteration:
                                        pass
+                               except portage.exception.InvalidDependString:
+                                       pass
                                else:
                                        ret = []
                        if ret is None: