Revision: 4271
Author: pekka.klarck
Date: Wed Oct 27 01:23:36 2010
Log: handle non-existing messages (issue 687)
http://code.google.com/p/robotframework/source/detail?r=4271
Modified:
/trunk/src/robot/errors.py
=======================================
--- /trunk/src/robot/errors.py Tue Sep 21 09:10:39 2010
+++ /trunk/src/robot/errors.py Wed Oct 27 01:23:36 2010
@@ -34,7 +34,7 @@
def __unicode__(self):
# Needed to handle exceptions w/ Unicode correctly on Python 2.5
- return unicode(self.args[0])
+ return unicode(self.args[0]) if self.args else u''
class FrameworkError(RobotError):