)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"3fea33df704aeb0c39ff2fa49d6bab03661278da","unresolved":false,"context_lines":[{"line_number":17,"context_line":"http://lists.openstack.org/pipermail/openstack-dev/2017-March/113365.html"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Change-Id: I9fd264a443c634465b8548067f86ac14c1a51faa"},{"line_number":20,"context_line":"Closes-Bug: #1674542"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"ffe62b97_1718351b","line":20,"range":{"start_line":20,"start_character":0,"end_line":20,"end_character":10},"updated":"2017-03-24 09:36:13.000000000","message":"Partial-Bug:","commit_id":"b1fba7b1b0780f9102d6a4f87b18d75db5845c3c"},{"author":{"_account_id":6491,"name":"xing-yang","email":"xingyang105@gmail.com","username":"xing-yang"},"change_message_id":"dcfa4b39a6d2a0fafa2d0d9edb1e629daac5f305","unresolved":false,"context_lines":[{"line_number":10,"context_line":"the _LE, _LI, and _LW translation markers to simplify logging and to"},{"line_number":11,"context_line":"avoid confusion with new contributions."},{"line_number":12,"context_line":"This is the 1/5 commit."},{"line_number":13,"context_line":"Old commit will be abandoned: https://review.openstack.org/#/c/447822/"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"See:"},{"line_number":16,"context_line":"http://lists.openstack.org/pipermail/openstack-i18n/2016-November/002574.html"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"ffe62b97_1424da5c","line":13,"updated":"2017-03-29 21:15:20.000000000","message":"I abandoned the above patch to avoid confusion.","commit_id":"d510ee8f921c9fd501aae83f5deb8aa6db811fed"}],"manila/api/auth.py":[{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"ac58b2b7f7c543d037bf9e1b283c9c117e112c59","unresolved":false,"context_lines":[{"line_number":23,"context_line":""},{"line_number":24,"context_line":"class ManilaKeystoneContext(auth.ManilaKeystoneContext):"},{"line_number":25,"context_line":"    def __init__(self, application):"},{"line_number":26,"context_line":"        LOG.warning((\u0027manila.api.auth:ManilaKeystoneContext is deprecated. \u0027"},{"line_number":27,"context_line":"                     \u0027Please use \u0027"},{"line_number":28,"context_line":"                     \u0027manila.api.middleware.auth:ManilaKeystoneContext \u0027"},{"line_number":29,"context_line":"                     \u0027instead.\u0027))"},{"line_number":30,"context_line":"        super(ManilaKeystoneContext, self).__init__(application)"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"ffe62b97_8af2dd05","line":29,"range":{"start_line":26,"start_character":19,"end_line":29,"end_character":33},"updated":"2017-03-24 08:58:08.000000000","message":"redundant parenthesis","commit_id":"b1fba7b1b0780f9102d6a4f87b18d75db5845c3c"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"ac58b2b7f7c543d037bf9e1b283c9c117e112c59","unresolved":false,"context_lines":[{"line_number":31,"context_line":""},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"def pipeline_factory(loader, global_conf, **local_conf):"},{"line_number":34,"context_line":"    LOG.warning((\u0027manila.api.auth:pipeline_factory is deprecated. \u0027"},{"line_number":35,"context_line":"                 \u0027Please use manila.api.middleware.auth:pipeline_factory \u0027"},{"line_number":36,"context_line":"                 \u0027instead.\u0027))"},{"line_number":37,"context_line":"    auth.pipeline_factory(loader, global_conf, **local_conf)"}],"source_content_type":"text/x-python","patch_set":1,"id":"ffe62b97_eae2892f","line":36,"range":{"start_line":34,"start_character":15,"end_line":36,"end_character":29},"updated":"2017-03-24 08:58:08.000000000","message":"redundant parenthesis","commit_id":"b1fba7b1b0780f9102d6a4f87b18d75db5845c3c"}],"manila/api/extensions.py":[{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"ac58b2b7f7c543d037bf9e1b283c9c117e112c59","unresolved":false,"context_lines":[{"line_number":181,"context_line":"                      \u0027 \u0027.join(extension.__doc__.strip().split()))"},{"line_number":182,"context_line":"            LOG.debug(\u0027Ext updated: %s\u0027, extension.updated)"},{"line_number":183,"context_line":"        except AttributeError:"},{"line_number":184,"context_line":"            LOG.exception((\"Exception loading extension.\"))"},{"line_number":185,"context_line":"            return False"},{"line_number":186,"context_line":""},{"line_number":187,"context_line":"        return True"}],"source_content_type":"text/x-python","patch_set":1,"id":"ffe62b97_aad6c14e","line":184,"range":{"start_line":184,"start_character":25,"end_line":184,"end_character":59},"updated":"2017-03-24 08:58:08.000000000","message":"redundant parenthesis","commit_id":"b1fba7b1b0780f9102d6a4f87b18d75db5845c3c"}],"manila/api/middleware/fault.py":[{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"ac58b2b7f7c543d037bf9e1b283c9c117e112c59","unresolved":false,"context_lines":[{"line_number":40,"context_line":"            status, webob.exc.HTTPInternalServerError)()"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"    def _error(self, inner, req):"},{"line_number":43,"context_line":"        LOG.exception((\"Caught error: %s\"), inner)"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"        safe \u003d getattr(inner, \u0027safe\u0027, False)"},{"line_number":46,"context_line":"        headers \u003d getattr(inner, \u0027headers\u0027, None)"}],"source_content_type":"text/x-python","patch_set":1,"id":"ffe62b97_0abfedfb","line":43,"range":{"start_line":43,"start_character":22,"end_line":43,"end_character":42},"updated":"2017-03-24 08:58:08.000000000","message":"redundant parenthesis","commit_id":"b1fba7b1b0780f9102d6a4f87b18d75db5845c3c"}],"manila/api/openstack/__init__.py":[{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"ac58b2b7f7c543d037bf9e1b283c9c117e112c59","unresolved":false,"context_lines":[{"line_number":121,"context_line":""},{"line_number":122,"context_line":"class FaultWrapper(base_wsgi.Middleware):"},{"line_number":123,"context_line":"    def __init__(self, application):"},{"line_number":124,"context_line":"        LOG.warning((\u0027manila.api.openstack:FaultWrapper is deprecated. \u0027"},{"line_number":125,"context_line":"                     \u0027Please use \u0027"},{"line_number":126,"context_line":"                     \u0027manila.api.middleware.fault:FaultWrapper instead.\u0027))"},{"line_number":127,"context_line":"        # Avoid circular imports from here."},{"line_number":128,"context_line":"        from manila.api.middleware import fault"},{"line_number":129,"context_line":"        super(FaultWrapper, self).__init__(fault.FaultWrapper(application))"}],"source_content_type":"text/x-python","patch_set":1,"id":"ffe62b97_8a409d09","line":126,"range":{"start_line":124,"start_character":19,"end_line":126,"end_character":74},"updated":"2017-03-24 08:58:08.000000000","message":"redundant parenthesis","commit_id":"b1fba7b1b0780f9102d6a4f87b18d75db5845c3c"}],"manila/api/openstack/urlmap.py":[{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"ac58b2b7f7c543d037bf9e1b283c9c117e112c59","unresolved":false,"context_lines":[{"line_number":22,"context_line":""},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"def urlmap_factory(loader, global_conf, **local_conf):"},{"line_number":25,"context_line":"    LOG.warning((\u0027manila.api.openstack.urlmap:urlmap_factory \u0027"},{"line_number":26,"context_line":"                 \u0027is deprecated. \u0027"},{"line_number":27,"context_line":"                 \u0027Please use manila.api.urlmap:urlmap_factory instead.\u0027))"},{"line_number":28,"context_line":"    urlmap.urlmap_factory(loader, global_conf, **local_conf)"}],"source_content_type":"text/x-python","patch_set":1,"id":"ffe62b97_4a4a9527","line":27,"range":{"start_line":25,"start_character":15,"end_line":27,"end_character":73},"updated":"2017-03-24 08:58:08.000000000","message":"redundant parenthesis","commit_id":"b1fba7b1b0780f9102d6a4f87b18d75db5845c3c"}],"manila/api/v2/share_networks.py":[{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"ac58b2b7f7c543d037bf9e1b283c9c117e112c59","unresolved":false,"context_lines":[{"line_number":97,"context_line":"                context, project_id\u003dshare_network[\u0027project_id\u0027],"},{"line_number":98,"context_line":"                share_networks\u003d-1, user_id\u003dshare_network[\u0027user_id\u0027])"},{"line_number":99,"context_line":"        except Exception:"},{"line_number":100,"context_line":"            LOG.exception((\"Failed to update usages deleting \""},{"line_number":101,"context_line":"                           \"share-network.\"))"},{"line_number":102,"context_line":"        else:"},{"line_number":103,"context_line":"            QUOTAS.commit(context, reservations,"},{"line_number":104,"context_line":"                          project_id\u003dshare_network[\u0027project_id\u0027],"}],"source_content_type":"text/x-python","patch_set":1,"id":"ffe62b97_8a59bdff","line":101,"range":{"start_line":100,"start_character":25,"end_line":101,"end_character":45},"updated":"2017-03-24 08:58:08.000000000","message":"redundant parenthesis","commit_id":"b1fba7b1b0780f9102d6a4f87b18d75db5845c3c"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"e9c20f914f42ca0e493a6f6acc4e392d078e682e","unresolved":false,"context_lines":[{"line_number":73,"context_line":"            db_api.share_instances_get_all_by_share_network(context, id)"},{"line_number":74,"context_line":"        )"},{"line_number":75,"context_line":"        if share_instances:"},{"line_number":76,"context_line":"            msg \u003d (\"Can not delete share network %(id)s, it has \""},{"line_number":77,"context_line":"                   \"%(len)s share(s).\") % {\u0027id\u0027: id,"},{"line_number":78,"context_line":"                                           \u0027len\u0027: len(share_instances)}"},{"line_number":79,"context_line":"            LOG.error(msg)"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_7a9c72bf","line":76,"range":{"start_line":76,"start_character":12,"end_line":76,"end_character":65},"updated":"2017-03-28 16:34:57.000000000","message":"Leave this one since the message is also used in a raised exception.","commit_id":"6d743dc9e3837687a8d4e7f206619f9c3e5489b2"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"e9c20f914f42ca0e493a6f6acc4e392d078e682e","unresolved":false,"context_lines":[{"line_number":83,"context_line":"        # group"},{"line_number":84,"context_line":"        sg_count \u003d db_api.count_share_groups_in_share_network(context, id)"},{"line_number":85,"context_line":"        if sg_count:"},{"line_number":86,"context_line":"            msg \u003d _(\"Can not delete share network %(id)s, it has %(len)s \""},{"line_number":87,"context_line":"                    \"share group(s).\") % {\u0027id\u0027: id, \u0027len\u0027: sg_count}"},{"line_number":88,"context_line":"            LOG.error(msg)"},{"line_number":89,"context_line":"            raise exc.HTTPConflict(explanation\u003dmsg)"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"        for share_server in share_network[\u0027share_servers\u0027]:"},{"line_number":92,"context_line":"            self.share_rpcapi.delete_share_server(context, share_server)"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_baff9aa9","line":89,"range":{"start_line":86,"start_character":12,"end_line":89,"end_character":51},"updated":"2017-03-28 16:34:57.000000000","message":"This is correct.","commit_id":"6d743dc9e3837687a8d4e7f206619f9c3e5489b2"}]}
