Merge branch 'ldconfig-fix' of github.com:domschl/tensorflow into ldconfig-fix

This commit is contained in:
Dominik Schlösser 2019-05-17 09:26:25 +02:00
commit ef59a95a48

View File

@ -143,7 +143,7 @@ def _get_ld_config_paths():
for line in output.splitlines():
try:
match = pattern.match(line.decode("ascii"))
except:
except UnicodeDecodeError:
match = False
if match:
result.add(os.path.dirname(match.group(1)))