summaryrefslogtreecommitdiff
path: root/pym
diff options
context:
space:
mode:
authordol-sen <brian.dolbec@gmail.com>2011-07-13 08:35:44 -0700
committerdol-sen <brian.dolbec@gmail.com>2011-07-13 08:35:44 -0700
commit2664f68f9553b94a9bb93dc0282de6ffbf8232f9 (patch)
tree9759e09d0813486a798e4a350754a42c1e0c5142 /pym
parent752c3db97d11ab07b5a0ed9c5cd892cc5e610854 (diff)
downloadgentoolkit-2664f68f9553b94a9bb93dc0282de6ffbf8232f9.tar.gz
fix the placement of the l.endswith('.a') in the if
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