From: Nico Weber Date: Wed, 11 Nov 2015 21:54:14 +0000 (-0800) Subject: Try to fix #685 X-Git-Tag: upstream/1.7.0^2~47 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=805875b44aa2d52cf5eb943db055d3b7e9c8ed21;p=platform%2Fupstream%2Fninja.git Try to fix #685 --- diff --git a/configure.py b/configure.py index 64f940b..0cff196 100755 --- a/configure.py +++ b/configure.py @@ -81,7 +81,7 @@ class Platform(object): stdout=subprocess.PIPE, stderr=subprocess.PIPE) out, err = popen.communicate() - return '/FS ' in str(out) + return b'/FS ' in out def is_windows(self): return self.is_mingw() or self.is_msvc()