sync mkstemp fix from puppet
This commit is contained in:
parent
48b55259d4
commit
0df54308f9
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ def main():
|
|||
|
||||
# grab a temporary filename and dump our file in there
|
||||
tempfile.tempdir = module_dir
|
||||
tmpfile = tempfile.mkstemp(md5sum)
|
||||
tmpfile = tempfile.mkstemp(md5sum)[1]
|
||||
tmpfd = open(tmpfile, 'w')
|
||||
|
||||
# now read the whole file in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue