Merge pull request #15 from falseen/path-1

优化细节。
This commit is contained in:
BreakWa11 2015-09-25 23:24:19 +08:00
commit bbbb9995d8

View file

@ -87,8 +87,9 @@ def find_library(possible_lib_names, search_symbol, library_name):
else:
logging.warn('can\'t find symbol %s in %s', search_symbol,
path)
except ValueError as e:
logging.error(e)
except Exception:
if path == paths[-1]:
raise
return None