forked from M-Labs/artiq
Unbreak 9dc7efef
.
This commit is contained in:
parent
88134db35a
commit
a4fd9ad3e1
|
@ -33,9 +33,9 @@ class RunTool:
|
||||||
stdout, stderr = process.communicate()
|
stdout, stderr = process.communicate()
|
||||||
if process.returncode != 0:
|
if process.returncode != 0:
|
||||||
raise Exception("{} invocation failed: {}".
|
raise Exception("{} invocation failed: {}".
|
||||||
format(cmdline[0], stderr.decode('utf-8')))
|
format(cmdline[0], stderr))
|
||||||
|
|
||||||
self._tempfiles["__stdout__"] = io.StringIO(stdout.decode('utf-8'))
|
self._tempfiles["__stdout__"] = io.StringIO(stdout)
|
||||||
for key in self._tempdata:
|
for key in self._tempdata:
|
||||||
if self._tempdata[key] is None:
|
if self._tempdata[key] is None:
|
||||||
self._tempfiles[key] = open(self._tempnames[key], "rb")
|
self._tempfiles[key] = open(self._tempnames[key], "rb")
|
||||||
|
|
Loading…
Reference in New Issue