Revision: 2479
Author: janne.t.harkonen
Date: Thu Feb 18 20:50:34 2010
Log: cleanup

http://code.google.com/p/robotframework/source/detail?r=2479

Modified:
 /trunk/src/robot/output/readers.py

=======================================
--- /trunk/src/robot/output/readers.py  Thu Feb 18 04:04:38 2010
+++ /trunk/src/robot/output/readers.py  Thu Feb 18 20:50:34 2010
@@ -73,6 +73,7 @@


 class _MissingStatus:
+ '''If XML was fixed for example by fixml.py, status tag may be missing'''
     text = 'Broken output file'
     get_attr = lambda self, name, default: 'N/A'

@@ -88,8 +89,6 @@
             status = node.get_node('status')
             self.status = status.get_attr('status','').upper()
         except AttributeError:
-            # If XML was fixed for example by fixml.py, status tag may be
-            # missing
             status = _MissingStatus()
             self.status = 'FAIL'
         if self.status not in ['PASS','FAIL']:

Reply via email to