diff options
Diffstat (limited to 'pym')
-rw-r--r-- | pym/gentoolkit/revdep_rebuild/analyse.py | 6 |
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(): |