Commit cd4b69be authored by Robert McGibbon's avatar Robert McGibbon
Browse files

Changed statedatareporter to not buffer its outstream

parent 49cb91c5
...@@ -67,7 +67,7 @@ class StateDataReporter(object): ...@@ -67,7 +67,7 @@ class StateDataReporter(object):
self._reportInterval = reportInterval self._reportInterval = reportInterval
self._openedFile = isinstance(file, str) self._openedFile = isinstance(file, str)
if self._openedFile: if self._openedFile:
self._out = open(file, 'w') self._out = open(file, 'w', 0)
else: else:
self._out = file self._out = file
self._step = step self._step = step
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment