##// END OF EJS Templates
hghave: wrap command in 'sh -c "..."' for has_pyflakes()...
Adrian Buehlmann -
r16872:40d93084 default
parent child Browse files
Show More
@@ -202,7 +202,7 b' def has_unix_permissions():'
202 os.rmdir(d)
202 os.rmdir(d)
203
203
204 def has_pyflakes():
204 def has_pyflakes():
205 return matchoutput('echo "import re" 2>&1 | pyflakes',
205 return matchoutput("sh -c \"echo 'import re' 2>&1 | pyflakes\"",
206 r"<stdin>:1: 're' imported but unused",
206 r"<stdin>:1: 're' imported but unused",
207 True)
207 True)
208
208
General Comments 0
You need to be logged in to leave comments. Login now