_exceptions.py
changeset 4270 189e4f5279e9
parent 4212 ab6573088b4a
child 4911 898c35be5873
equal deleted inserted replaced
4269:da0d254f2eb0 4270:189e4f5279e9
    18     def __str__(self):
    18     def __str__(self):
    19         if self.msg:
    19         if self.msg:
    20             if self.args:
    20             if self.args:
    21                 return self.msg % tuple(self.args)
    21                 return self.msg % tuple(self.args)
    22             return self.msg
    22             return self.msg
    23         return ' '.join(str(arg) for arg in self.args)
    23         return ' '.join(unicode(arg) for arg in self.args)
    24 
    24 
    25 
    25 
    26 class ConfigurationError(CubicWebException):
    26 class ConfigurationError(CubicWebException):
    27     """a misconfiguration error"""
    27     """a misconfiguration error"""
    28 
    28