Skip to content
Snippets Groups Projects
Commit 40d930848fd0 authored by Adrian Buehlmann's avatar Adrian Buehlmann
Browse files

hghave: wrap command in 'sh -c "..."' for has_pyflakes()

Without this, the has_pyflakes() check always fails in MSYS on Windows.
parent d566aa319d5f
No related branches found
No related tags found
No related merge requests found
......@@ -202,7 +202,7 @@
os.rmdir(d)
def has_pyflakes():
return matchoutput('echo "import re" 2>&1 | pyflakes',
return matchoutput("sh -c \"echo 'import re' 2>&1 | pyflakes\"",
r"<stdin>:1: 're' imported but unused",
True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment