)]}'
{"karborclient/v1/triggers.py":[{"author":{"_account_id":21224,"name":"jiaopengju","email":"jiaopengju_yewu@cmss.chinamobile.com","username":"jiaopengju"},"change_message_id":"0fc27850938cdccfe1c77aec68551254370bff2f","unresolved":false,"context_lines":[{"line_number":52,"context_line":""},{"line_number":53,"context_line":"    def update(self, trigger_id, data):"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"        if data[\u0027properties\u0027].get(\u0027window\u0027, None):"},{"line_number":56,"context_line":"            data[\u0027properties\u0027][\u0027window\u0027] \u003d int(data[\u0027properties\u0027][\u0027window\u0027])"},{"line_number":57,"context_line":"        body \u003d {\"trigger_info\": data}"},{"line_number":58,"context_line":"        return self._update(\u0027/triggers/{trigger_id}\u0027"},{"line_number":59,"context_line":"                            .format(trigger_id\u003dtrigger_id),"}],"source_content_type":"text/x-python","patch_set":3,"id":"3f79a3b5_e3346ead","line":56,"range":{"start_line":55,"start_character":8,"end_line":56,"end_character":76},"updated":"2018-12-07 11:50:04.000000000","message":"It may throw ValueError here if the window is string format, for example \u0027a\u0027, so I think we should give useful messages to the users, not throw ValueError here.","commit_id":"4c133f77b85ffb99a9804e16604efcba8b10a3c3"},{"author":{"_account_id":21224,"name":"jiaopengju","email":"jiaopengju_yewu@cmss.chinamobile.com","username":"jiaopengju"},"change_message_id":"cdced1fb803460cfe4128946d4fdd2d566d51d76","unresolved":false,"context_lines":[{"line_number":54,"context_line":""},{"line_number":55,"context_line":"        if data[\u0027properties\u0027].get(\u0027window\u0027, None):"},{"line_number":56,"context_line":"            try:"},{"line_number":57,"context_line":"                data[\u0027properties\u0027][\u0027window\u0027] \u003d \\"},{"line_number":58,"context_line":"                    int(data[\u0027properties\u0027][\u0027window\u0027])"},{"line_number":59,"context_line":"            except Exception:"},{"line_number":60,"context_line":"                msg \u003d \u0027The trigger window is not integer\u0027"},{"line_number":61,"context_line":"                raise exceptions.CommandError(msg)"}],"source_content_type":"text/x-python","patch_set":4,"id":"3f79a3b5_04e6344a","line":58,"range":{"start_line":57,"start_character":47,"end_line":58,"end_character":53},"updated":"2018-12-10 04:25:00.000000000","message":"it\u0027s better not using \u0027\\\u0027 to split the code lines.\ndata[\u0027properties\u0027][\u0027window\u0027] \u003d int(\n           data[\u0027properties\u0027][\u0027window\u0027])","commit_id":"ebaf9f320000ef2691e63223840e41f4238bb21f"}]}
