summaryrefslogtreecommitdiff
path: root/pym
diff options
context:
space:
mode:
Diffstat (limited to 'pym')
-rw-r--r--pym/gentoolkit/revdep_rebuild/collect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/gentoolkit/revdep_rebuild/collect.py b/pym/gentoolkit/revdep_rebuild/collect.py
index 8d80e21..e8075d8 100644
--- a/pym/gentoolkit/revdep_rebuild/collect.py
+++ b/pym/gentoolkit/revdep_rebuild/collect.py
@@ -140,7 +140,7 @@ def collect_libraries_from_dir(dirs, mask, logger):
else:
found_directories.append(l)
elif os.path.isfile(l):
- if l.endswith('.so') or '.so.' or l.endswith('.a') in l:
+ if l.endswith('.so') or l.endswith('.a') or '.so.' in l:
if l in found_files or l in found_symlinks:
continue