Commit e96c7cc0 authored by Nicolas Dumazet's avatar Nicolas Dumazet

avoid false positives

e.g.:
ldd: warning: you do not have execution permission for `software/develop-eggs/rdiff_backup-1.0.5-py2.6-linux-i686.egg/EGG-INFO/zip-safe'
lddlibc4: cannot read header from `software/develop-eggs/rdiff_backup-1.0.5-py2.6-linux-i686.egg/EGG-INFO/zip-safe'


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42243 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5e826243
No related merge requests found
......@@ -149,7 +149,7 @@ def readLddInfoList(f):
link_list = []
a = link_list.append
result = popen.communicate()[0]
if 'not a dynamic executable' in result:
if 'not a dynamic executable' in result or 'cannot read header' in result:
return link_list
for line in result.split('\n'):
line = line.strip()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment