Merge pull request #26061 from gmcwhistler/2015.5

Patch for issue #25994
This commit is contained in:
Justin Findlay 2015-08-06 11:07:34 -06:00
commit 83a1922196

View file

@ -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)