fix python <3.7 compat

This commit is contained in:
Andrei Alexeyev 2019-04-25 01:18:29 +03:00
parent 1dd1f1a7ea
commit a98722d5ec
No known key found for this signature in database
GPG key ID: 363707CD4C7FE8A4

View file

@ -23,7 +23,8 @@ def main(args):
try:
p = subprocess.run(['git', 'submodule', 'status'],
cwd=os.environ.get('MESON_SOURCE_ROOT', pathlib.Path(__file__).parent),
capture_output=True,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
universal_newlines=True
)
except FileNotFoundError: