fix python <3.7 compat
This commit is contained in:
parent
1dd1f1a7ea
commit
a98722d5ec
1 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue