branch | stable |
changeset 7384 | 69aa88765db5 |
parent 6807 | 7330d1fa02dd |
child 8312 | 6c2119509fac |
--- a/web/_exceptions.py Fri May 13 10:09:54 2011 +0200 +++ b/web/_exceptions.py Mon May 16 10:19:22 2011 +0200 @@ -53,6 +53,9 @@ self.status = int(status) self.content = content + def __repr__(self): + return '%s(%r, %r)' % (self.__class__.__name__, self.status, self.content) + class InvalidSession(CubicWebException): """raised when a session id is found but associated session is not found or invalid