summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2013-12-06 00:10:29 (GMT)
committerNico Weber <nicolasweber@gmx.de>2013-12-06 00:10:29 (GMT)
commit2517b75781decd49bc82f05f8336c509f7b2c62e (patch)
tree763d13724824d634c684ccc8feea776052e3b9cb
parent7ccecee4f10036a74942ca406dcd4a7b41f291b4 (diff)
parentabf3546ae6645bcb7f53d60bbfdcf3951a37fcbb (diff)
downloadNinja-2517b75781decd49bc82f05f8336c509f7b2c62e.zip
Ninja-2517b75781decd49bc82f05f8336c509f7b2c62e.tar.gz
Ninja-2517b75781decd49bc82f05f8336c509f7b2c62e.tar.bz2
Merge pull request #691 from TheOneRing/fix-msvc13
fixed platform_helper.py msvc_needs_fs test for python 3
-rw-r--r--platform_helper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform_helper.py b/platform_helper.py
index 1b45e19..de102b5 100644
--- a/platform_helper.py
+++ b/platform_helper.py
@@ -62,7 +62,7 @@ class Platform(object):
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
out, err = popen.communicate()
- return '/FS ' in out
+ return '/FS ' in str(out)
def is_windows(self):
return self.is_mingw() or self.is_msvc()