Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.toolbox
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Guillaume Hervier
slapos.toolbox
Commits
923bfb21
Commit
923bfb21
authored
Dec 30, 2011
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix usage of mkstemp
parent
e0d9ed9b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
slapos/builder/__init__.py
slapos/builder/__init__.py
+1
-1
No files found.
slapos/builder/__init__.py
View file @
923bfb21
...
@@ -138,7 +138,7 @@ def run(config):
...
@@ -138,7 +138,7 @@ def run(config):
print
"Creating temp directory"
print
"Creating temp directory"
if
not
dry_run
:
if
not
dry_run
:
mount_dir_path
=
mkdtemp
()
mount_dir_path
=
mkdtemp
()
fdisk_output_path
=
mkstemp
()
fdisk_output_path
=
mkstemp
()
[
1
]
else
:
else
:
mount_dir_path
=
"/tmp/a_generated_directory"
mount_dir_path
=
"/tmp/a_generated_directory"
fdisk_output_path
=
"/tmp/a_generated_file"
fdisk_output_path
=
"/tmp/a_generated_file"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment