mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-20 05:28:04 +00:00
switched to secure mkstemp()
This commit is contained in:
parent
c8f747cb13
commit
710ba84a02
@ -273,7 +273,7 @@ class Node(service.MultiService):
|
||||
# tempfile.TemporaryFile) to put large request bodies in the given
|
||||
# directory. Without this, the default temp dir is usually /tmp/,
|
||||
# which is frequently too small.
|
||||
test_name = tempfile.mktemp()
|
||||
test_name = tempfile.mkstemp()
|
||||
_assert(os.path.dirname(test_name) == tempdir, test_name, tempdir)
|
||||
|
||||
def check_privacy(self):
|
||||
|
Loading…
Reference in New Issue
Block a user