Revision: e04f8c97b77e Author: Janne Härkönen <[email protected]> Date: Tue Nov 29 22:13:42 2011 Log: RebotXmlWriter: fix xml writing with Jython
With Jython, (small) xml are buffered completely, and calling #_wrtier.close() forces the flush. http://code.google.com/p/robotframework/source/detail?r=e04f8c97b77e Modified: /src/robot/result/serializer.py ======================================= --- /src/robot/result/serializer.py Mon Nov 14 03:46:38 2011 +++ /src/robot/result/serializer.py Tue Nov 29 22:13:42 2011 @@ -26,6 +26,7 @@ def close(self): self._writer.end('robot') + self._writer.close() def start_errors(self, errors): XmlLogger.start_errors(self)
