summaryrefslogtreecommitdiff
path: root/pym
diff options
context:
space:
mode:
authorslis <lis.slawek@gmail.com>2014-03-17 07:48:19 +0100
committerslis <lis.slawek@gmail.com>2014-03-17 07:48:19 +0100
commitae20dbd7f2ef2810d3150e870ece6f5b7278f676 (patch)
tree3e43010628dc489336831b9207f55bdb0800c010 /pym
parentc5baf551987e2fb412caa396ae34f7f4341ad819 (diff)
downloadgentoolkit-ae20dbd7f2ef2810d3150e870ece6f5b7278f676.tar.gz
Fix for non-existing libraries version (https://bugs.gentoo.org/show_bug.cgi?id=504654#c5)
Diffstat (limited to 'pym')
-rw-r--r--pym/gentoolkit/revdep_rebuild/analyse.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/pym/gentoolkit/revdep_rebuild/analyse.py b/pym/gentoolkit/revdep_rebuild/analyse.py
index d7b210b..bd1b6b7 100644
--- a/pym/gentoolkit/revdep_rebuild/analyse.py
+++ b/pym/gentoolkit/revdep_rebuild/analyse.py
@@ -185,7 +185,11 @@ class LibCheck(object):
scanned_files = self.scanned_files
found_libs = {}
for bits in self.searchbits:
- scanned = scanned_files[bits]
+ try:
+ scanned = scanned_files[bits]
+ except KeyError:
+ self.logger.debug('There are no %s-bit libraries'%bits)
+ continue
self.logger.debug(self.smsg % bits)
self.setlibs(sorted(scanned), bits)
for soname, filepaths in scanned.items():