diff options
author | Douglas Bagnall <douglas.bagnall@catalyst.net.nz> | 2019-03-17 15:38:43 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2019-07-02 04:21:36 +0000 |
commit | 5331f913ac4dd3d94bed45846b64b89475029994 (patch) | |
tree | 651e783d9a82c59a2f23c223fca7c5b48b06951f /script | |
parent | e406b6d79603e31d2179717c0a4c7dbeeed7c337 (diff) | |
download | samba-5331f913ac4dd3d94bed45846b64b89475029994.tar.gz |
script/bisect-test: fix for py3
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'script')
-rwxr-xr-x | script/bisect-test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/bisect-test.py b/script/bisect-test.py index 313c4e3c6ce..b87df54ac09 100755 --- a/script/bisect-test.py +++ b/script/bisect-test.py @@ -58,7 +58,7 @@ cwd = os.getcwd() gitroot = find_git_root() # create a bisect script -f = tempfile.NamedTemporaryFile(delete=False) +f = tempfile.NamedTemporaryFile(delete=False, mode="w+t") f.write("set -x\n") f.write("cd %s || exit 125\n" % cwd) if opts.autogen: |