Revision: 36453df84a13
Author:   Pekka Klärck
Date:     Thu Dec  1 03:28:40 2011
Log: We can now safely use id instead of idx becasue we don't use the buggy modules affected by two letter attributes.
http://code.google.com/p/robotframework/source/detail?r=36453df84a13

Modified:
 /src/robot/model/stats.py
 /src/robot/output/xmllogger.py

=======================================
--- /src/robot/model/stats.py   Wed Nov 30 15:01:33 2011
+++ /src/robot/model/stats.py   Thu Dec  1 03:28:40 2011
@@ -28,8 +28,6 @@
     def attrs(self):
         attrs = {'pass': str(self.passed), 'fail': str(self.failed)}
         attrs.update(self._get_custom_attrs())
-        if 'id' in attrs:
-            attrs['idx'] = attrs.pop('id') # TODO: Rename idx -> id
         return attrs

     @property
=======================================
--- /src/robot/output/xmllogger.py      Tue Nov  8 21:21:03 2011
+++ /src/robot/output/xmllogger.py      Thu Dec  1 03:28:40 2011
@@ -127,8 +127,7 @@
         self._stat(stat)

     def suite_stat(self, stat):
- # Cannot use 'id' attribute in XML due to http://bugs.jython.org/issue1768 - self._stat(stat, stat.longname, attrs={'idx': stat.id, 'name': stat.name}) + self._stat(stat, stat.longname, attrs={'id': stat.id, 'name': stat.name})

     def tag_stat(self, stat):
         self._stat(stat, attrs={'info': self._get_tag_stat_info(stat),

Reply via email to