1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-11 16:58:40 +03:00

script/bisect-test: fix for py3

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Douglas Bagnall 2019-03-17 15:38:43 +13:00 committed by Andrew Bartlett
parent e406b6d796
commit 5331f913ac

View File

@ -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: