and should probably remove the index reference...

This commit is contained in:
brent s. 2020-07-15 12:27:13 -04:00
parent 7df5d78ec1
commit 70b5e91fa3
Signed by: bts
GPG Key ID: 8C004C2F93481F6B

View File

@ -260,7 +260,7 @@ class Backup(object):
exec_fd, exec_tmp = tempfile.mkstemp(prefix = '_borgextend.', exec_fd, exec_tmp = tempfile.mkstemp(prefix = '_borgextend.',
suffix = '._tmpexc', suffix = '._tmpexc',
text = True, text = True,
dir = tmpdir)[1] dir = tmpdir)
# D'oh. I need to close the FD before messing with it. # D'oh. I need to close the FD before messing with it.
os.close(exec_fd) os.close(exec_fd)
os.chmod(exec_tmp, mode = 0o0700) os.chmod(exec_tmp, mode = 0o0700)