)]}'
{"nova/compute/api.py":[{"author":{"_account_id":9708,"name":"Balazs Gibizer","display_name":"gibi","email":"gibizer@gmail.com","username":"gibi"},"change_message_id":"e2db061ac0510be2c155682aa20a8e9a69894867","unresolved":false,"context_lines":[{"line_number":4579,"context_line":"    @wrap_exception()"},{"line_number":4580,"context_line":"    def create_aggregate(self, context, aggregate_name, availability_zone):"},{"line_number":4581,"context_line":"        \"\"\"Creates the model for the aggregate.\"\"\""},{"line_number":4582,"context_line":"        if availability_zone:"},{"line_number":4583,"context_line":"            # NOTE(vvargaszte): There should be no colon characters in"},{"line_number":4584,"context_line":"            # availability zone names."},{"line_number":4585,"context_line":"            if \u0027:\u0027 in availability_zone:"}],"source_content_type":"text/x-python","patch_set":1,"id":"df3967d1_dc0a391e","line":4582,"updated":"2017-08-04 11:45:12.000000000","message":"I think it is better to catch this in the json schema during the API request validation. [1]\n\n[1] https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/schemas/aggregates.py#L48","commit_id":"b326ca884ac538df2d9cdc7fa0a24268c7566ee5"},{"author":{"_account_id":18602,"name":"Gábor Antal","email":"antal@inf.u-szeged.hu","username":"antal"},"change_message_id":"cdeeecb5132de66f1f6c36e03fac992265a6fec0","unresolved":false,"context_lines":[{"line_number":4583,"context_line":"            # NOTE(vvargaszte): There should be no colon characters in"},{"line_number":4584,"context_line":"            # availability zone names."},{"line_number":4585,"context_line":"            if \u0027:\u0027 in availability_zone:"},{"line_number":4586,"context_line":"                raise exception.InvalidAggregateAvailabilityZoneName"},{"line_number":4587,"context_line":"        aggregate \u003d objects.Aggregate(context\u003dcontext)"},{"line_number":4588,"context_line":"        aggregate.name \u003d aggregate_name"},{"line_number":4589,"context_line":"        if availability_zone:"}],"source_content_type":"text/x-python","patch_set":1,"id":"df3967d1_2a021c3e","line":4586,"updated":"2017-08-04 07:36:42.000000000","message":"() is needed here.","commit_id":"b326ca884ac538df2d9cdc7fa0a24268c7566ee5"}]}
