Commit 923bfb21 authored by Romain Courteaud's avatar Romain Courteaud

Fix usage of mkstemp

parent e0d9ed9b
......@@ -138,7 +138,7 @@ def run(config):
print "Creating temp directory"
if not dry_run:
mount_dir_path = mkdtemp()
fdisk_output_path = mkstemp()
fdisk_output_path = mkstemp()[1]
else:
mount_dir_path = "/tmp/a_generated_directory"
fdisk_output_path = "/tmp/a_generated_file"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment