Comment #9 on issue 471 by Andreas.EbbertKarroum: Replace all occurrences
of `str()` with `unicode()` or `utils.unic()`
http://code.google.com/p/robotframework/issues/detail?id=471
When searching for [\s\(\[\,]str\( I still get a lot of hits, alone in
sources there
are 22 matches:
src
robot
libraries
BuiltIn.py
848: times = utils.normalize(str(times))
OperatingSystem.py (2 matches)
200: command = str(command)
862: value = str(value)
Remote.py
79: return str(item)
Telnet.py
316: text = str(text)
output
xmllogger.py (3 matches)
89: 'timeout': str(test.timeout) }
184: attrs['pass'] = str(stat.passed)
185: attrs['fail'] = str(stat.failed)
running
javaargcoercer.py
84: if arg in type_list or str(arg) in primitive_list:
keywords.py (2 matches)
49: self.timeout = str(handler.timeout)
327: errors.append(str(err))
testlibraries.py (2 matches)
94: return str(code.ROBOT_LIBRARY_VERSION)
97: return str(code.__version__)
timeouts.py
64: return cmp(str(self), other)
utils
asserts.py (2 matches)
158: exc_name = str(exc_class)
172: exc_name = str(exc_class)
error.py
98: exc_msg = str(exc_value)
importing.py
112: fromlist = [str(classname)] # Unicode not generally accepted
robottypes.py
126: ret = str(type(item))
unic.py
39: ascii_text = str(item).encode('string_escape')
__init__.py (2 matches)
53: _exit(INFO_PRINTED, str(msg))
55: _exit(DATA_ERROR, str(err))
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings