Revision: 3015
Author: jprantan
Date: Fri Apr 16 02:44:47 2010
Log: repr should return repr(item) instead of str(item). Otherwise unicode
characters in item will cause an UnicodeDecodeError.
http://code.google.com/p/robotframework/source/detail?r=3015
Modified:
/trunk/src/robot/common/model.py
=======================================
--- /trunk/src/robot/common/model.py Tue Mar 23 04:15:41 2010
+++ /trunk/src/robot/common/model.py Fri Apr 16 02:44:47 2010
@@ -63,7 +63,7 @@
return self.name
def __repr__(self):
- return "'%s'" % self.name
+ return repr(self.name)
class BaseTestSuite(_TestAndSuiteHelper):
--
Subscription settings:
http://groups.google.com/group/robotframework-commit/subscribe?hl=en