From: "Zac Medico (zmedico)" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] portage r10648 - main/trunk/pym/_emerge
Date: Wed, 11 Jun 2008 09:33:42 +0000 [thread overview]
Message-ID: <E1K6Mi6-0001IS-Jj@stork.gentoo.org> (raw)
Author: zmedico
Date: 2008-06-11 09:33:41 +0000 (Wed, 11 Jun 2008)
New Revision: 10648
Modified:
main/trunk/pym/_emerge/__init__.py
Log:
Handle InvalidDependString in _package_cache.__setitem__().
Modified: main/trunk/pym/_emerge/__init__.py
===================================================================
--- main/trunk/pym/_emerge/__init__.py 2008-06-11 09:20:51 UTC (rev 10647)
+++ main/trunk/pym/_emerge/__init__.py 2008-06-11 09:33:41 UTC (rev 10648)
@@ -5655,10 +5655,13 @@
def __setitem__(self, k, v):
dict.__setitem__(self, k, v)
root_config = self._depgraph.roots[v.root]
- if visible(root_config.settings, v) and \
- not (v.installed and \
- v.root_config.settings.getMissingKeywords(v.cpv, v.metadata)):
- root_config.visible_pkgs.cpv_inject(v)
+ try:
+ if visible(root_config.settings, v) and \
+ not (v.installed and \
+ v.root_config.settings.getMissingKeywords(v.cpv, v.metadata)):
+ root_config.visible_pkgs.cpv_inject(v)
+ except portage.exception.InvalidDependString:
+ pass
class RepoDisplay(object):
def __init__(self, roots):
--
gentoo-commits@lists.gentoo.org mailing list
reply other threads:[~2008-06-11 9:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1K6Mi6-0001IS-Jj@stork.gentoo.org \
--to=zmedico@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox