Revision: 3134
Author: KariHusa
Date: Tue May  4 02:44:41 2010
Log: Fix
http://code.google.com/p/robotframework/source/detail?r=3134

Modified:
 /trunk/src/robot/running/keywords.py

=======================================
--- /trunk/src/robot/running/keywords.py        Tue May  4 01:05:02 2010
+++ /trunk/src/robot/running/keywords.py        Tue May  4 02:44:41 2010
@@ -47,6 +47,9 @@
     def _keyword_failed(self, err):
         pass

+    def __nonzero__(self):
+        return bool(self._keywords)
+

 class TestCaseKeywords(_Keywords):

Reply via email to