)]}'
{"openstack_dashboard/dashboards/admin/aggregates/workflows.py":[{"author":{"_account_id":6763,"name":"jingliuqing","email":"jing.liuqing@99cloud.net","username":"jing"},"change_message_id":"37c9f090372256760b45330f260f80256bc5f1c5","unresolved":false,"context_lines":[{"line_number":182,"context_line":"    default_steps \u003d (SetAggregateInfoStep, AddHostsToAggregateStep)"},{"line_number":183,"context_line":""},{"line_number":184,"context_line":"    def format_status_message(self, message):"},{"line_number":185,"context_line":"        name \u003d self.context.get(\u0027name\u0027) or self.context.get(\u0027id\u0027, \u0027\u0027)"},{"line_number":186,"context_line":"        return message % name"},{"line_number":187,"context_line":""},{"line_number":188,"context_line":"    def handle(self, request, context):"}],"source_content_type":"text/x-python","patch_set":1,"id":"5a8bc5a2_12faacbd","line":185,"range":{"start_line":185,"start_character":8,"end_line":185,"end_character":12},"updated":"2016-09-23 11:33:19.000000000","message":"name_or_id seems more suitable","commit_id":"9f60b4e6e51df7ac4eb33b82ca44a325276890df"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"df3c03833f7c2cc5bf0be14f28e0beb1b70e2f3a","unresolved":false,"context_lines":[{"line_number":182,"context_line":"    default_steps \u003d (SetAggregateInfoStep, AddHostsToAggregateStep)"},{"line_number":183,"context_line":""},{"line_number":184,"context_line":"    def format_status_message(self, message):"},{"line_number":185,"context_line":"        name \u003d self.context.get(\u0027name\u0027) or self.context.get(\u0027id\u0027, \u0027\u0027)"},{"line_number":186,"context_line":"        return message % name"},{"line_number":187,"context_line":""},{"line_number":188,"context_line":"    def handle(self, request, context):"}],"source_content_type":"text/x-python","patch_set":1,"id":"5a8bc5a2_7fbab06f","line":185,"range":{"start_line":185,"start_character":8,"end_line":185,"end_character":12},"in_reply_to":"5a8bc5a2_12faacbd","updated":"2016-09-24 11:11:05.000000000","message":"Is there a case where \u0027id\u0027 does not exist? I think both fields exists.\n\n  name_or_id \u003d self.context[\u0027name\u0027] or self.context[\u0027id\u0027]","commit_id":"9f60b4e6e51df7ac4eb33b82ca44a325276890df"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"dfc22fd9912b3e5eeb3d10edf8562fe0da95ca85","unresolved":false,"context_lines":[{"line_number":182,"context_line":"    default_steps \u003d (SetAggregateInfoStep, AddHostsToAggregateStep)"},{"line_number":183,"context_line":""},{"line_number":184,"context_line":"    def format_status_message(self, message):"},{"line_number":185,"context_line":"        name_or_id \u003d self.context[\u0027name\u0027] or self.context[\u0027id\u0027]"},{"line_number":186,"context_line":"        return message % name_or_id"},{"line_number":187,"context_line":""},{"line_number":188,"context_line":"    def handle(self, request, context):"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a71b18c_158b6ac4","line":185,"updated":"2016-12-02 20:26:12.000000000","message":"Seems like the name field is required. So the check for id is not necessary, I would just remove that part.","commit_id":"50dcb2acbdedc838d07a3a83334c38f7e80161cc"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"fbf574638cabfab09672f071697af430b8ceed5c","unresolved":false,"context_lines":[{"line_number":181,"context_line":"    success_url \u003d constants.AGGREGATES_INDEX_URL"},{"line_number":182,"context_line":"    default_steps \u003d (SetAggregateInfoStep, AddHostsToAggregateStep)"},{"line_number":183,"context_line":""},{"line_number":184,"context_line":"    def format_status_message(self, message):"},{"line_number":185,"context_line":"        return message % self.context[\u0027name\u0027]"},{"line_number":186,"context_line":""},{"line_number":187,"context_line":"    def handle(self, request, context):"}],"source_content_type":"text/x-python","patch_set":3,"id":"3a71b18c_71b74bd8","line":184,"updated":"2016-12-03 01:17:34.000000000","message":"If name is blank, the message looks extremely strange. You\u0027ll need a different message for handling blank names, which leads me to my next point.\n\nThis patch is similar to https://review.openstack.org/#/c/404075/ . I believe we should just display nova\u0027s error message, which is actually better than ours.\n\nGet more from doing less.","commit_id":"b414a4faeeaca1d1cdb3e02d54907f130dbc041f"}]}
