Commit 43cc018f authored by Łukasz Nowak's avatar Łukasz Nowak

- initalise values in case of unset condition


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40281 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 67bc3564
...@@ -42,6 +42,8 @@ def readElfAsDict(f): ...@@ -42,6 +42,8 @@ def readElfAsDict(f):
if popen.returncode != 0: if popen.returncode != 0:
raise AssertionError(result) raise AssertionError(result)
library_list = [] library_list = []
rpath_list = []
runpath_list = []
for l in result.split('\n'): for l in result.split('\n'):
if '(NEEDED)' in l: if '(NEEDED)' in l:
library_list.append(l.split(':')[1].strip(' []').split('.so')[0]) library_list.append(l.split(':')[1].strip(' []').split('.so')[0])
......
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