Revision: 3925
Author: janne.t.harkonen
Date: Thu Aug 26 03:02:13 2010
Log: BaseException.message is deprecated
http://code.google.com/p/robotframework/source/detail?r=3925
Modified:
/trunk/src/robot/running/keywords.py
=======================================
--- /trunk/src/robot/running/keywords.py Wed Aug 25 06:25:53 2010
+++ /trunk/src/robot/running/keywords.py Thu Aug 26 03:02:13 2010
@@ -130,7 +130,7 @@
def _report_failure(self, context):
failure = HandlerExecutionFailed()
if not failure.exit_for_loop:
- context.output.fail(failure.message)
+ context.output.fail(unicode(failure))
if failure.traceback:
context.output.debug(failure.traceback)
raise failure
@@ -150,7 +150,7 @@
for name, value in self._get_vars_to_set(return_value):
context.get_current_vars()[name] = value
context.output.info(utils.format_assign_message(name, value))
-
+
def _get_vars_to_set(self, ret):
if ret is None:
return self._get_vars_to_set_when_ret_is_none()