)]}'
{"zaqarclient/transport/errors.py":[{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"09dfa165a94e34f8a20a70ec2a51967cb7adecc6","unresolved":false,"context_lines":[{"line_number":30,"context_line":"class TransportError(errors.ZaqarError):"},{"line_number":31,"context_line":"    \"\"\"Base class for all transport errors.\"\"\""},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"    code \u003d \"???\""},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"    def __init__(self, title\u003dNone, description\u003dNone, text\u003dNone):"},{"line_number":36,"context_line":"        msg \u003d \u0027Error response from Zaqar. Code: {0}.\u0027.format(self.code)"}],"source_content_type":"text/x-python","patch_set":4,"id":"bae84128_631d9165","line":33,"updated":"2016-02-24 01:26:46.000000000","message":"The default value of code is a string, and all the child class are using int for code. Does 500 or 503 make any sense?","commit_id":"6478939db95fc72749c0967e96ac243ddbb041ed"},{"author":{"_account_id":18683,"name":"Eva Balycheva","email":"ubershy@gmail.com","username":"eva"},"change_message_id":"ca516a37f0e5fac5514fe9ea65e5fb5b8228ab95","unresolved":false,"context_lines":[{"line_number":30,"context_line":"class TransportError(errors.ZaqarError):"},{"line_number":31,"context_line":"    \"\"\"Base class for all transport errors.\"\"\""},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"    code \u003d \"???\""},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"    def __init__(self, title\u003dNone, description\u003dNone, text\u003dNone):"},{"line_number":36,"context_line":"        msg \u003d \u0027Error response from Zaqar. Code: {0}.\u0027.format(self.code)"}],"source_content_type":"text/x-python","patch_set":4,"id":"bae84128_3e7ee569","line":33,"in_reply_to":"bae84128_631d9165","updated":"2016-02-24 11:41:34.000000000","message":"It would be extraordinary situation, if this default code of base class will be used. I don\u0027t think it will ever happen. But if it will happen, I don\u0027t want to provide misleading information to the user like server responded with 500 or 503 status code.\nIf you don\u0027t want it to be string, maybe it\u0027s better for me just to make this variable equal to None?","commit_id":"6478939db95fc72749c0967e96ac243ddbb041ed"}]}
