mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #26061 from gmcwhistler/2015.5
Patch for issue #25994
This commit is contained in:
commit
83a1922196
1 changed files with 2 additions and 2 deletions
|
@ -37,8 +37,8 @@ def __execute_cmd(name, xml):
|
|||
if not os.path.isdir(tmp_dir):
|
||||
os.mkdir(tmp_dir)
|
||||
with tempfile.NamedTemporaryFile(dir=tmp_dir,
|
||||
prefix=name,
|
||||
suffix=os.getpid(),
|
||||
prefix=name+str(os.getpid()),
|
||||
suffix='.xml',
|
||||
delete=False) as fh:
|
||||
tmpfilename = fh.name
|
||||
fh.write(xml)
|
||||
|
|
Loading…
Add table
Reference in a new issue