Commit a22860e2 authored by Michal Čihař's avatar Michal Čihař

Handle OSError from subprocess.check_call

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 48821b69
...@@ -822,7 +822,7 @@ class PoFormat(FileFormat): ...@@ -822,7 +822,7 @@ class PoFormat(FileFormat):
env=get_clean_env(), env=get_clean_env(),
) )
cls.msginit_found = (ret == 0) cls.msginit_found = (ret == 0)
except subprocess.CalledProcessError: except (subprocess.CalledProcessError, OSError):
cls.msginit_found = False cls.msginit_found = False
return cls.msginit_found return cls.msginit_found
......
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