projects
/
gentoolkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
752c3db
)
fix the placement of the l.endswith('.a') in the if
author
dol-sen
<brian.dolbec@gmail.com>
Wed, 13 Jul 2011 15:35:44 +0000
(08:35 -0700)
committer
dol-sen
<brian.dolbec@gmail.com>
Wed, 13 Jul 2011 15:35:44 +0000
(08:35 -0700)
pym/gentoolkit/revdep_rebuild/collect.py
patch
|
blob
|
history
diff --git
a/pym/gentoolkit/revdep_rebuild/collect.py
b/pym/gentoolkit/revdep_rebuild/collect.py
index 8d80e21d46c3414c8e7e2dfde34cedad870b84c0..e8075d8071877cd86f9d86502b8863ed3bad6b44 100644
(file)
--- 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