unicode(arg) else we may get some encoding exception
authoralex & cheb
Tue, 19 Jan 2010 18:11:31 +0100
changeset 4270 189e4f5279e9
parent 4269 da0d254f2eb0
child 4272 12f336008191
unicode(arg) else we may get some encoding exception
_exceptions.py
--- a/_exceptions.py	Tue Jan 19 18:10:01 2010 +0100
+++ b/_exceptions.py	Tue Jan 19 18:11:31 2010 +0100
@@ -20,7 +20,7 @@
             if self.args:
                 return self.msg % tuple(self.args)
             return self.msg
-        return ' '.join(str(arg) for arg in self.args)
+        return ' '.join(unicode(arg) for arg in self.args)
 
 
 class ConfigurationError(CubicWebException):