)]}'
{"cloudkitty/rating/__init__.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":23,"context_line":"from cloudkitty import messaging"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"@six.add_metaclass(abc.ABCMeta)"},{"line_number":27,"context_line":"class RatingProcessorBase(object):"},{"line_number":28,"context_line":"    \"\"\"Provides the Cloudkitty integration code to the rating processors."},{"line_number":29,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_adfbc344","line":26,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: F821 undefined name \u0027six\u0027","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":141,"context_line":"        try:"},{"line_number":142,"context_line":"            policy.authorize(request.context, \u0027rating:module_config\u0027, {})"},{"line_number":143,"context_line":"        except policy.PolicyNotAuthorized as e:"},{"line_number":144,"context_line":"            pecan.abort(403, str(e))"},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"        return super(RatingRestControllerBase, self)._route(args, request)"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_8df87f49","line":144,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: C314 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"}],"cloudkitty/rating/hash/controllers/field.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":59,"context_line":"            field_db \u003d hashmap.get_field(uuid\u003dfield_id)"},{"line_number":60,"context_line":"            return field_models.Field(**field_db.export_model())"},{"line_number":61,"context_line":"        except db_api.NoSuchField as e:"},{"line_number":62,"context_line":"            pecan.abort(404, str(e))"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"    @wsme_pecan.wsexpose(field_models.Field,"},{"line_number":65,"context_line":"                         body\u003dfield_models.Field,"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_edbf7b5e","line":62,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: C314 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":81,"context_line":"            return field_models.Field("},{"line_number":82,"context_line":"                **field_db.export_model())"},{"line_number":83,"context_line":"        except db_api.FieldAlreadyExists as e:"},{"line_number":84,"context_line":"            pecan.abort(409, str(e))"},{"line_number":85,"context_line":"        except db_api.ClientHashMapError as e:"},{"line_number":86,"context_line":"            pecan.abort(400, str(e))"},{"line_number":87,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_cdc437f8","line":84,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: C314 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":83,"context_line":"        except db_api.FieldAlreadyExists as e:"},{"line_number":84,"context_line":"            pecan.abort(409, str(e))"},{"line_number":85,"context_line":"        except db_api.ClientHashMapError as e:"},{"line_number":86,"context_line":"            pecan.abort(400, str(e))"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"    @wsme_pecan.wsexpose(None,"},{"line_number":89,"context_line":"                         ck_types.UuidType(),"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_2db6938b","line":86,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: C314 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":97,"context_line":"        try:"},{"line_number":98,"context_line":"            hashmap.delete_field(uuid\u003dfield_id)"},{"line_number":99,"context_line":"        except db_api.NoSuchField as e:"},{"line_number":100,"context_line":"            pecan.abort(404, str(e))"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_0dbbcf71","line":100,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: C314 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"}],"cloudkitty/rating/hash/controllers/group.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":94,"context_line":"            group_db \u003d hashmap.get_group(uuid\u003dgroup_id)"},{"line_number":95,"context_line":"            return group_models.Group(**group_db.export_model())"},{"line_number":96,"context_line":"        except db_api.NoSuchGroup as e:"},{"line_number":97,"context_line":"            pecan.abort(404, str(e))"},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"    @wsme_pecan.wsexpose(group_models.Group,"},{"line_number":100,"context_line":"                         body\u003dgroup_models.Group,"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_2de8537a","line":97,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: C314 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":114,"context_line":"            return group_models.Group("},{"line_number":115,"context_line":"                **group_db.export_model())"},{"line_number":116,"context_line":"        except db_api.GroupAlreadyExists as e:"},{"line_number":117,"context_line":"            pecan.abort(409, str(e))"},{"line_number":118,"context_line":"        except db_api.ClientHashMapError as e:"},{"line_number":119,"context_line":"            pecan.abort(400, str(e))"},{"line_number":120,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_0ded8f8a","line":117,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: C314 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":116,"context_line":"        except db_api.GroupAlreadyExists as e:"},{"line_number":117,"context_line":"            pecan.abort(409, str(e))"},{"line_number":118,"context_line":"        except db_api.ClientHashMapError as e:"},{"line_number":119,"context_line":"            pecan.abort(400, str(e))"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"    @wsme_pecan.wsexpose(None,"},{"line_number":122,"context_line":"                         ck_types.UuidType(),"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_6d052b46","line":119,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: C314 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":132,"context_line":"        try:"},{"line_number":133,"context_line":"            hashmap.delete_group(uuid\u003dgroup_id, recurse\u003drecursive)"},{"line_number":134,"context_line":"        except db_api.NoSuchGroup as e:"},{"line_number":135,"context_line":"            pecan.abort(404, str(e))"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_4d02e73e","line":135,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: C314 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"}],"cloudkitty/rating/hash/controllers/mapping.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":44,"context_line":"                uuid\u003dmapping_id)"},{"line_number":45,"context_line":"            return group_models.Group(**group_db.export_model())"},{"line_number":46,"context_line":"        except db_api.MappingHasNoGroup as e:"},{"line_number":47,"context_line":"            pecan.abort(404, str(e))"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"    @wsme_pecan.wsexpose(mapping_models.MappingCollection,"},{"line_number":50,"context_line":"                         ck_types.UuidType(),"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_ed965bf0","line":47,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: C314 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":104,"context_line":"            return mapping_models.Mapping("},{"line_number":105,"context_line":"                **mapping_db.export_model())"},{"line_number":106,"context_line":"        except db_api.NoSuchMapping as e:"},{"line_number":107,"context_line":"            pecan.abort(404, str(e))"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"    @wsme_pecan.wsexpose(mapping_models.Mapping,"},{"line_number":110,"context_line":"                         body\u003dmapping_models.Mapping,"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_cd9b9715","line":107,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: C314 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":131,"context_line":"            return mapping_models.Mapping("},{"line_number":132,"context_line":"                **mapping_db.export_model())"},{"line_number":133,"context_line":"        except db_api.MappingAlreadyExists as e:"},{"line_number":134,"context_line":"            pecan.abort(409, str(e))"},{"line_number":135,"context_line":"        except db_api.ClientHashMapError as e:"},{"line_number":136,"context_line":"            pecan.abort(400, str(e))"},{"line_number":137,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_2d9df309","line":134,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: C314 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":133,"context_line":"        except db_api.MappingAlreadyExists as e:"},{"line_number":134,"context_line":"            pecan.abort(409, str(e))"},{"line_number":135,"context_line":"        except db_api.ClientHashMapError as e:"},{"line_number":136,"context_line":"            pecan.abort(400, str(e))"},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"    @wsme_pecan.wsexpose(None,"},{"line_number":139,"context_line":"                         ck_types.UuidType(),"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_0da2af4b","line":136,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: C314 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":157,"context_line":"                tenant_id\u003dmapping.tenant_id)"},{"line_number":158,"context_line":"            pecan.response.headers[\u0027Location\u0027] \u003d pecan.request.path"},{"line_number":159,"context_line":"        except db_api.MappingAlreadyExists as e:"},{"line_number":160,"context_line":"            pecan.abort(409, str(e))"},{"line_number":161,"context_line":"        except db_api.NoSuchMapping as e:"},{"line_number":162,"context_line":"            pecan.abort(404, str(e))"},{"line_number":163,"context_line":"        except db_api.ClientHashMapError as e:"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_6d8a4bbf","line":160,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: C314 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":159,"context_line":"        except db_api.MappingAlreadyExists as e:"},{"line_number":160,"context_line":"            pecan.abort(409, str(e))"},{"line_number":161,"context_line":"        except db_api.NoSuchMapping as e:"},{"line_number":162,"context_line":"            pecan.abort(404, str(e))"},{"line_number":163,"context_line":"        except db_api.ClientHashMapError as e:"},{"line_number":164,"context_line":"            pecan.abort(400, str(e))"},{"line_number":165,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_4d8787b6","line":162,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: C314 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":161,"context_line":"        except db_api.NoSuchMapping as e:"},{"line_number":162,"context_line":"            pecan.abort(404, str(e))"},{"line_number":163,"context_line":"        except db_api.ClientHashMapError as e:"},{"line_number":164,"context_line":"            pecan.abort(400, str(e))"},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"    @wsme_pecan.wsexpose(None,"},{"line_number":167,"context_line":"                         ck_types.UuidType(),"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_ad90e3ee","line":164,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: C314 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":175,"context_line":"        try:"},{"line_number":176,"context_line":"            hashmap.delete_mapping(uuid\u003dmapping_id)"},{"line_number":177,"context_line":"        except db_api.NoSuchMapping as e:"},{"line_number":178,"context_line":"            pecan.abort(404, str(e))"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_8d8d1fd5","line":178,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: C314 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"}],"cloudkitty/rating/hash/controllers/service.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":59,"context_line":"            service_db \u003d hashmap.get_service(uuid\u003dservice_id)"},{"line_number":60,"context_line":"            return service_models.Service(**service_db.export_model())"},{"line_number":61,"context_line":"        except db_api.NoSuchService as e:"},{"line_number":62,"context_line":"            pecan.abort(404, str(e))"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"    @wsme_pecan.wsexpose(service_models.Service,"},{"line_number":65,"context_line":"                         body\u003dservice_models.Service,"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_cd68b71e","line":62,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: C314 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":79,"context_line":"            return service_models.Service("},{"line_number":80,"context_line":"                **service_db.export_model())"},{"line_number":81,"context_line":"        except db_api.ServiceAlreadyExists as e:"},{"line_number":82,"context_line":"            pecan.abort(409, str(e))"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"    @wsme_pecan.wsexpose(None, ck_types.UuidType(), status_code\u003d204)"},{"line_number":85,"context_line":"    def delete(self, service_id):"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_2d5a1382","line":82,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: C314 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":91,"context_line":"        try:"},{"line_number":92,"context_line":"            hashmap.delete_service(uuid\u003dservice_id)"},{"line_number":93,"context_line":"        except db_api.NoSuchService as e:"},{"line_number":94,"context_line":"            pecan.abort(404, str(e))"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_0d5f4f72","line":94,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: C314 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"}],"cloudkitty/rating/hash/controllers/threshold.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":44,"context_line":"                uuid\u003dthreshold_id)"},{"line_number":45,"context_line":"            return group_models.Group(**group_db.export_model())"},{"line_number":46,"context_line":"        except db_api.ThresholdHasNoGroup as e:"},{"line_number":47,"context_line":"            pecan.abort(404, str(e))"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"    @wsme_pecan.wsexpose(threshold_models.ThresholdCollection,"},{"line_number":50,"context_line":"                         ck_types.UuidType(),"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_cdcd5732","line":47,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: C314 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":103,"context_line":"            return threshold_models.Threshold("},{"line_number":104,"context_line":"                **threshold_db.export_model())"},{"line_number":105,"context_line":"        except db_api.NoSuchThreshold as e:"},{"line_number":106,"context_line":"            pecan.abort(404, str(e))"},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"    @wsme_pecan.wsexpose(threshold_models.Threshold,"},{"line_number":109,"context_line":"                         body\u003dthreshold_models.Threshold,"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_2dcfb329","line":106,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: C314 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":130,"context_line":"            return threshold_models.Threshold("},{"line_number":131,"context_line":"                **threshold_db.export_model())"},{"line_number":132,"context_line":"        except db_api.ThresholdAlreadyExists as e:"},{"line_number":133,"context_line":"            pecan.abort(409, str(e))"},{"line_number":134,"context_line":"        except db_api.ClientHashMapError as e:"},{"line_number":135,"context_line":"            pecan.abort(400, str(e))"},{"line_number":136,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_0dd46fbc","line":133,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: C314 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":132,"context_line":"        except db_api.ThresholdAlreadyExists as e:"},{"line_number":133,"context_line":"            pecan.abort(409, str(e))"},{"line_number":134,"context_line":"        except db_api.ClientHashMapError as e:"},{"line_number":135,"context_line":"            pecan.abort(400, str(e))"},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"    @wsme_pecan.wsexpose(None,"},{"line_number":138,"context_line":"                         ck_types.UuidType(),"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_6ddc0be4","line":135,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: C314 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":156,"context_line":"                tenant_id\u003dthreshold.tenant_id)"},{"line_number":157,"context_line":"            pecan.response.headers[\u0027Location\u0027] \u003d pecan.request.path"},{"line_number":158,"context_line":"        except db_api.ThresholdAlreadyExists as e:"},{"line_number":159,"context_line":"            pecan.abort(409, str(e))"},{"line_number":160,"context_line":"        except db_api.NoSuchThreshold as e:"},{"line_number":161,"context_line":"            pecan.abort(404, str(e))"},{"line_number":162,"context_line":"        except db_api.ClientHashMapError as e:"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_4dd947f1","line":159,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: C314 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":158,"context_line":"        except db_api.ThresholdAlreadyExists as e:"},{"line_number":159,"context_line":"            pecan.abort(409, str(e))"},{"line_number":160,"context_line":"        except db_api.NoSuchThreshold as e:"},{"line_number":161,"context_line":"            pecan.abort(404, str(e))"},{"line_number":162,"context_line":"        except db_api.ClientHashMapError as e:"},{"line_number":163,"context_line":"            pecan.abort(400, str(e))"},{"line_number":164,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_ade2a39e","line":161,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: C314 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":160,"context_line":"        except db_api.NoSuchThreshold as e:"},{"line_number":161,"context_line":"            pecan.abort(404, str(e))"},{"line_number":162,"context_line":"        except db_api.ClientHashMapError as e:"},{"line_number":163,"context_line":"            pecan.abort(400, str(e))"},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"    @wsme_pecan.wsexpose(None,"},{"line_number":166,"context_line":"                         ck_types.UuidType(),"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_8ddfdfd4","line":163,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: C314 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":174,"context_line":"        try:"},{"line_number":175,"context_line":"            hashmap.delete_threshold(uuid\u003dthreshold_id)"},{"line_number":176,"context_line":"        except db_api.NoSuchThreshold as e:"},{"line_number":177,"context_line":"            pecan.abort(404, str(e))"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_edf13b6d","line":177,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: C314 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"}],"cloudkitty/rating/hash/db/api.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":184,"context_line":"        self.uuid \u003d uuid"},{"line_number":185,"context_line":""},{"line_number":186,"context_line":""},{"line_number":187,"context_line":"@six.add_metaclass(abc.ABCMeta)"},{"line_number":188,"context_line":"class HashMap(object):"},{"line_number":189,"context_line":"    \"\"\"Base class for hashmap configuration.\"\"\""},{"line_number":190,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_cdf6f763","line":187,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: F821 undefined name \u0027six\u0027","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"}],"cloudkitty/rating/hash/db/sqlalchemy/alembic/versions/f8c799db4aa0_fix_unnamed_constraints.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":153,"context_line":"def upgrade_sqlite():"},{"line_number":154,"context_line":"    # NOTE(sheeprine): Batch automatically recreates tables,"},{"line_number":155,"context_line":"    # use it as a lazy way to recreate tables and transfer data automagically."},{"line_number":156,"context_line":"    for name, table in six.iteritems(models.Base.metadata.tables):"},{"line_number":157,"context_line":"        with op.batch_alter_table(name, copy_from\u003dtable) as batch_op:"},{"line_number":158,"context_line":"            # NOTE(sheeprine): Dummy operation to force recreate."},{"line_number":159,"context_line":"            # Easier than delete and create."}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_6d57eb59","line":156,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: F821 undefined name \u0027six\u0027","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":167,"context_line":"    tables[\u0027hashmap_fields\u0027].constraints \u003d set()"},{"line_number":168,"context_line":"    tables[\u0027hashmap_mappings\u0027].constraints \u003d set()"},{"line_number":169,"context_line":"    tables[\u0027hashmap_thresholds\u0027].constraints \u003d set()"},{"line_number":170,"context_line":"    for name, table in six.iteritems(tables):"},{"line_number":171,"context_line":"        with op.batch_alter_table(name,"},{"line_number":172,"context_line":"                                  copy_from\u003dtable,"},{"line_number":173,"context_line":"                                  recreate\u003d\u0027always\u0027) as batch_op:"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_4d54a753","line":170,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: F821 undefined name \u0027six\u0027","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":173,"context_line":"                                  recreate\u003d\u0027always\u0027) as batch_op:"},{"line_number":174,"context_line":"            batch_op.alter_column(\u0027id\u0027)"},{"line_number":175,"context_line":"    # Final copy with constraints"},{"line_number":176,"context_line":"    for name, table in six.iteritems(models.Base.metadata.tables):"},{"line_number":177,"context_line":"        with op.batch_alter_table(name,"},{"line_number":178,"context_line":"                                  copy_from\u003dtable,"},{"line_number":179,"context_line":"                                  recreate\u003d\u0027always\u0027) as batch_op:"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_ad4d83c5","line":176,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: F821 undefined name \u0027six\u0027","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":207,"context_line":"        ops_list \u003d [POST_OPS]"},{"line_number":208,"context_line":"    for cur_ops in ops_list:"},{"line_number":209,"context_line":"        for constraint_type in (\u0027foreignkey\u0027, \u0027unique\u0027, \u0027primary\u0027):"},{"line_number":210,"context_line":"            for table_name, constraints in six.iteritems("},{"line_number":211,"context_line":"                    cur_ops.get(constraint_type, dict())):"},{"line_number":212,"context_line":"                for constraint in constraints:"},{"line_number":213,"context_line":"                    old_name \u003d constraint[0]"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_8d4a3fa9","line":210,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: F821 undefined name \u0027six\u0027","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":217,"context_line":"                        old_name,"},{"line_number":218,"context_line":"                        table_name)"},{"line_number":219,"context_line":"        for constraint_type in (\u0027primary\u0027, \u0027unique\u0027, \u0027foreignkey\u0027):"},{"line_number":220,"context_line":"            for table_name, constraints in six.iteritems("},{"line_number":221,"context_line":"                    cur_ops.get(constraint_type, dict())):"},{"line_number":222,"context_line":"                for constraint in constraints:"},{"line_number":223,"context_line":"                    new_name \u003d constraint[1]"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_edc81b23","line":220,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: F821 undefined name \u0027six\u0027","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"}],"cloudkitty/rating/pyscripts/controllers/script.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":70,"context_line":"            script_db \u003d pyscripts.get_script(uuid\u003dscript_id)"},{"line_number":71,"context_line":"            return script_models.Script(**script_db.export_model())"},{"line_number":72,"context_line":"        except db_api.NoSuchScript as e:"},{"line_number":73,"context_line":"            pecan.abort(404, str(e))"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"    @wsme_pecan.wsexpose(script_models.Script,"},{"line_number":76,"context_line":"                         body\u003dscript_models.Script,"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_4d6b071d","line":73,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: C314 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":91,"context_line":"            return script_models.Script("},{"line_number":92,"context_line":"                **script_db.export_model())"},{"line_number":93,"context_line":"        except db_api.ScriptAlreadyExists as e:"},{"line_number":94,"context_line":"            pecan.abort(409, str(e))"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"    @wsme_pecan.wsexpose(script_models.Script,"},{"line_number":97,"context_line":"                         ck_types.UuidType(),"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_ad7463ff","line":94,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: C314 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":116,"context_line":"            return script_models.Script("},{"line_number":117,"context_line":"                **script_db.export_model())"},{"line_number":118,"context_line":"        except db_api.NoSuchScript as e:"},{"line_number":119,"context_line":"            pecan.abort(404, str(e))"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"    @wsme_pecan.wsexpose(None, ck_types.UuidType(), status_code\u003d204)"},{"line_number":122,"context_line":"    def delete(self, script_id):"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_8d719f0f","line":119,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: C314 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":128,"context_line":"        try:"},{"line_number":129,"context_line":"            pyscripts.delete_script(uuid\u003dscript_id)"},{"line_number":130,"context_line":"        except db_api.NoSuchScript as e:"},{"line_number":131,"context_line":"            pecan.abort(404, str(e))"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_ed63fb40","line":131,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: C314 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"}],"cloudkitty/rating/pyscripts/db/api.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"52a24514cdf378b8e988ff9fc8d87610572b770c","unresolved":false,"context_lines":[{"line_number":50,"context_line":"        self.uuid \u003d uuid"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"@six.add_metaclass(abc.ABCMeta)"},{"line_number":54,"context_line":"class PyScripts(object):"},{"line_number":55,"context_line":"    \"\"\"Base class for pyscripts configuration.\"\"\""},{"line_number":56,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_6db36b99","line":53,"updated":"2020-05-17 06:09:05.000000000","message":"pep8: F821 undefined name \u0027six\u0027","commit_id":"f9e6f5b0c0d4c77d242b60a4ba701a0d926d7ec9"}]}
