From: dol-sen Date: Wed, 13 Jul 2011 15:35:44 +0000 (-0700) Subject: fix the placement of the l.endswith('.a') in the if X-Git-Tag: gentoolkit-0.3.0.5~29 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2664f68f9553b94a9bb93dc0282de6ffbf8232f9;p=gentoolkit.git fix the placement of the l.endswith('.a') in the if --- 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