summaryrefslogtreecommitdiffstats
path: root/pym/portage/dbapi
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2012-10-17 22:57:09 -0700
committerZac Medico <zmedico@gentoo.org>2012-10-17 22:57:09 -0700
commit25bf5ebc00fa1c79e6f764a58802cd70a16967bf (patch)
tree99a5a13f2f6c62f2170455da669944780ff4912f /pym/portage/dbapi
parentd159be545ecb431addc3e7bb31a8ed8cfd9984af (diff)
downloadportage-25bf5ebc00fa1c79e6f764a58802cd70a16967bf.tar.gz
portage-25bf5ebc00fa1c79e6f764a58802cd70a16967bf.tar.bz2
portage-25bf5ebc00fa1c79e6f764a58802cd70a16967bf.zip
Handle InvalidData from _pkg_str.
Diffstat (limited to 'pym/portage/dbapi')
-rw-r--r--pym/portage/dbapi/vartree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py
index 30b6cb17d..46afea572 100644
--- a/pym/portage/dbapi/vartree.py
+++ b/pym/portage/dbapi/vartree.py
@@ -4094,7 +4094,7 @@ class dblink(object):
try:
slot = self.vartree.dbapi._pkg_str(cpv, None).slot
counter = self.vartree.dbapi.cpv_counter(cpv)
- except KeyError:
+ except (KeyError, InvalidData):
pass
else:
has_vdb_entry = True