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:
parent
e406b6d796
commit
5331f913ac
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user