equal
deleted
inserted
replaced
62 super(StatusResponse, self).__init__(status=status) |
62 super(StatusResponse, self).__init__(status=status) |
63 self.content = content |
63 self.content = content |
64 |
64 |
65 def __repr__(self): |
65 def __repr__(self): |
66 return '%s(%r, %r)' % (self.__class__.__name__, self.status, self.content) |
66 return '%s(%r, %r)' % (self.__class__.__name__, self.status, self.content) |
67 self.url = url |
|
68 |
67 |
69 # Publish related error |
68 # Publish related error |
70 |
69 |
71 class RequestError(PublishException): |
70 class RequestError(PublishException): |
72 """raised when a request can't be served because of a bad input""" |
71 """raised when a request can't be served because of a bad input""" |