2 new revisions:
Revision: 761439c298cf
Author: Mikko Korpela <[email protected]>
Date: Mon Nov 14 03:52:30 2011
Log: lesser insane ugliness
http://code.google.com/p/robotframework/source/detail?r=761439c298cf
Revision: 33b147097716
Author: Mikko Korpela <[email protected]>
Date: Mon Nov 14 03:52:44 2011
Log: Automated merge with https://code.google.com/p/robotframework/
http://code.google.com/p/robotframework/source/detail?r=33b147097716
==============================================================================
Revision: 761439c298cf
Author: Mikko Korpela <[email protected]>
Date: Mon Nov 14 03:52:30 2011
Log: lesser insane ugliness
http://code.google.com/p/robotframework/source/detail?r=761439c298cf
Modified:
/src/robot/reporting/resultwriter.py
=======================================
--- /src/robot/reporting/resultwriter.py Mon Nov 14 03:38:56 2011
+++ /src/robot/reporting/resultwriter.py Mon Nov 14 03:52:30 2011
@@ -84,15 +84,14 @@
return self._execution_result
def _create_reporting_datamodel(self):
- self.result_from_xml # this line is insanely ugly .. only here for
the side-effects
- visitor = DatamodelVisitor(self._execution_result,
+ visitor = DatamodelVisitor(self.result_from_xml.result,
log_path=self.settings['Log'],
split_log=self.settings['SplitLog'])
# Remove keywords while visiting as JSON datamodel visitor is the
last
# thing that needs keywords from the model
# this saves memory -- possibly a lot.
- self._execution_result.visit(CombiningVisitor(visitor,
-
KeywordRemovingVisitor()))
+ self.result_from_xml.result.visit(CombiningVisitor(visitor,
+ KeywordRemovingVisitor()))
self._data_model = DataModelWriter(visitor.datamodel)
==============================================================================
Revision: 33b147097716
Author: Mikko Korpela <[email protected]>
Date: Mon Nov 14 03:52:44 2011
Log: Automated merge with https://code.google.com/p/robotframework/
http://code.google.com/p/robotframework/source/detail?r=33b147097716