)]}'
{"nova/api/openstack/compute/hosts.py":[{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"2c7fd710c78ecf2f2b6780d62ac6d9bfa1ad1004","unresolved":false,"context_lines":[{"line_number":110,"context_line":""},{"line_number":111,"context_line":"        context \u003d req.environ[\u0027nova.context\u0027]"},{"line_number":112,"context_line":"        context.can(hosts_policies.POLICY_NAME % \u0027update\u0027,"},{"line_number":113,"context_line":"                    target\u003d{})"},{"line_number":114,"context_line":"        # See what the user wants to \u0027update\u0027"},{"line_number":115,"context_line":"        status \u003d body.get(\u0027status\u0027)"},{"line_number":116,"context_line":"        maint_mode \u003d body.get(\u0027maintenance_mode\u0027)"}],"source_content_type":"text/x-python","patch_set":2,"id":"9f560f44_9588f371","line":113,"range":{"start_line":113,"start_character":19,"end_line":113,"end_character":29},"updated":"2020-07-28 11:12:51.000000000","message":"nit: this can all fit on one line. Ditto for remainder","commit_id":"4ef2ebe241e7fedc24fb5434124fbba8be15f524"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"7f9707a2d88596f4126735187e2d574cc0f0f7f8","unresolved":false,"context_lines":[{"line_number":110,"context_line":""},{"line_number":111,"context_line":"        context \u003d req.environ[\u0027nova.context\u0027]"},{"line_number":112,"context_line":"        context.can(hosts_policies.POLICY_NAME % \u0027update\u0027,"},{"line_number":113,"context_line":"                    target\u003d{})"},{"line_number":114,"context_line":"        # See what the user wants to \u0027update\u0027"},{"line_number":115,"context_line":"        status \u003d body.get(\u0027status\u0027)"},{"line_number":116,"context_line":"        maint_mode \u003d body.get(\u0027maintenance_mode\u0027)"}],"source_content_type":"text/x-python","patch_set":2,"id":"9f560f44_45050877","line":113,"range":{"start_line":113,"start_character":19,"end_line":113,"end_character":29},"in_reply_to":"9f560f44_9588f371","updated":"2020-07-28 15:13:31.000000000","message":"yeah, I can do if I need to respin.","commit_id":"4ef2ebe241e7fedc24fb5434124fbba8be15f524"}],"nova/tests/unit/policies/test_hosts.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"5903daca09f4155bb2568b19a4cbe9019ec1cc4f","unresolved":false,"context_lines":[{"line_number":14,"context_line":""},{"line_number":15,"context_line":"from nova.api.openstack.compute import hosts"},{"line_number":16,"context_line":"from nova.policies import hosts as policies"},{"line_number":17,"context_line":"from nova.policies import base as base_policy"},{"line_number":18,"context_line":"from nova.tests.unit.api.openstack import fakes"},{"line_number":19,"context_line":"from nova.tests.unit.policies import base"},{"line_number":20,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"9f560f44_83a901e1","line":17,"updated":"2020-07-25 05:40:31.000000000","message":"pep8: H306: imports not in alphabetical order (nova.policies.hosts, nova.policies.base)","commit_id":"c0fbc96c65f9da7a6caade3e69b37a8fc59dc93d"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"2c7fd710c78ecf2f2b6780d62ac6d9bfa1ad1004","unresolved":false,"context_lines":[{"line_number":155,"context_line":"    without_deprecated_rules \u003d True"},{"line_number":156,"context_line":"    rules_without_deprecation \u003d {"},{"line_number":157,"context_line":"        policies.POLICY_NAME % \u0027list\u0027:"},{"line_number":158,"context_line":"            base_policy.SYSTEM_READER,"},{"line_number":159,"context_line":"        policies.POLICY_NAME % \u0027show\u0027:"},{"line_number":160,"context_line":"            base_policy.SYSTEM_READER,"},{"line_number":161,"context_line":"        policies.POLICY_NAME % \u0027update\u0027:"}],"source_content_type":"text/x-python","patch_set":2,"id":"9f560f44_d5826b4f","line":158,"updated":"2020-07-28 11:12:51.000000000","message":"nit: these could all fit on one line","commit_id":"4ef2ebe241e7fedc24fb5434124fbba8be15f524"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"7f9707a2d88596f4126735187e2d574cc0f0f7f8","unresolved":false,"context_lines":[{"line_number":155,"context_line":"    without_deprecated_rules \u003d True"},{"line_number":156,"context_line":"    rules_without_deprecation \u003d {"},{"line_number":157,"context_line":"        policies.POLICY_NAME % \u0027list\u0027:"},{"line_number":158,"context_line":"            base_policy.SYSTEM_READER,"},{"line_number":159,"context_line":"        policies.POLICY_NAME % \u0027show\u0027:"},{"line_number":160,"context_line":"            base_policy.SYSTEM_READER,"},{"line_number":161,"context_line":"        policies.POLICY_NAME % \u0027update\u0027:"}],"source_content_type":"text/x-python","patch_set":2,"id":"9f560f44_65000c69","line":158,"in_reply_to":"9f560f44_d5826b4f","updated":"2020-07-28 15:13:31.000000000","message":"yeah, I can do if I need to respin.","commit_id":"4ef2ebe241e7fedc24fb5434124fbba8be15f524"}]}
