diff options
author | William Blevins <wblevins001@gmail.com> | 2016-09-20 20:07:30 (GMT) |
---|---|---|
committer | William Blevins <wblevins001@gmail.com> | 2016-09-20 20:07:30 (GMT) |
commit | 0e2a4161264e7bac8368b8132b368796c880e30e (patch) | |
tree | 03ded12777f86fbdae061bdc4199cabe766db2d6 /src/engine/SCons | |
parent | 226c34a47471c5c27bc9a0c262edd62d713acc81 (diff) | |
download | SCons-0e2a4161264e7bac8368b8132b368796c880e30e.zip SCons-0e2a4161264e7bac8368b8132b368796c880e30e.tar.gz SCons-0e2a4161264e7bac8368b8132b368796c880e30e.tar.bz2 |
Fixing QMTest str and bytes issues.
Diffstat (limited to 'src/engine/SCons')
-rw-r--r-- | src/engine/SCons/Tool/swig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/Tool/swig.py b/src/engine/SCons/Tool/swig.py index fa86174..9935de8 100644 --- a/src/engine/SCons/Tool/swig.py +++ b/src/engine/SCons/Tool/swig.py @@ -143,7 +143,7 @@ def _get_swig_version(env, swig): # MAYBE: out = SCons.Util.to_str (pipe.stdout.read()) out = pipe.stdout.read() - match = re.search(r'SWIG Version\s+(\S+).*', out, re.MULTILINE) + match = re.search(b'SWIG Version\s+(\S+).*', out, re.MULTILINE) if match: if verbose: print("Version is:%s"%match.group(1)) return match.group(1) |