)]}'
{"manila/common/config.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"7097afdabb2f19f4ed9361741910c331be157683","unresolved":true,"context_lines":[{"line_number":163,"context_line":"    if msg:"},{"line_number":164,"context_line":"        msg +\u003d (\"Please specify one or more protocols using \""},{"line_number":165,"context_line":"                \"configuration option \u0027enabled_share_protocols\u0027.\")"},{"line_number":166,"context_line":"        # NOTE(vponomaryov): use translation to unicode explicitly,"},{"line_number":167,"context_line":"        # because of \u0027lazy\u0027 translations."},{"line_number":168,"context_line":"        msg \u003d str(_(msg) % data)  # noqa H701"},{"line_number":169,"context_line":"        raise exception.ManilaException(message\u003dmsg)"},{"line_number":170,"context_line":""},{"line_number":171,"context_line":""},{"line_number":172,"context_line":"def set_lib_defaults():"}],"source_content_type":"text/x-python","patch_set":4,"id":"4ae61800_2ca19130","line":169,"range":{"start_line":166,"start_character":8,"end_line":169,"end_character":52},"updated":"2021-01-27 19:01:26.000000000","message":"this whole thing is a little outdated - lets reformat, translations are no longer done on exception strings, and this error shouldn\u0027t occur either.","commit_id":"094b0f0057d8051e1d0e904c100a3db5852f05e7"}],"manila/compute/nova.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"852cf60deaacba5f79954cf156ee8f588a7ff6cf","unresolved":false,"context_lines":[{"line_number":131,"context_line":"            if isinstance(e, nova_exception.NotFound):"},{"line_number":132,"context_line":"                raise exception.InstanceNotFound(instance_id\u003dinstance_id)"},{"line_number":133,"context_line":"            elif isinstance(e, nova_exception.BadRequest):"},{"line_number":134,"context_line":"                raise exception.InvalidInput(reason\u003dstr(e))"},{"line_number":135,"context_line":"            else:"},{"line_number":136,"context_line":"                raise exception.ManilaException(e)"},{"line_number":137,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"9f560f44_7dcf8b27","line":134,"updated":"2020-10-09 04:36:26.000000000","message":"pep8: M325 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"71375a43478b5e26f4e7d15fb310dd77261e0afd"}],"manila/db/sqlalchemy/api.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"7097afdabb2f19f4ed9361741910c331be157683","unresolved":true,"context_lines":[{"line_number":2841,"context_line":"            msg \u003d _(\"Wrong \u0027usage\u0027 key provided - \u0027%(key)s\u0027. \""},{"line_number":2842,"context_line":"                    \"Expected keys are \u0027%(ek)s\u0027.\") % {"},{"line_number":2843,"context_line":"                        \u0027key\u0027: filters[\u0027usage\u0027],"},{"line_number":2844,"context_line":"                        \u0027ek\u0027: str(usage_filter_keys)}"},{"line_number":2845,"context_line":"            raise exception.InvalidInput(reason\u003dmsg)"},{"line_number":2846,"context_line":""},{"line_number":2847,"context_line":"    # Apply sorting"}],"source_content_type":"text/x-python","patch_set":4,"id":"53dea9e7_e9cdde34","line":2844,"range":{"start_line":2844,"start_character":30,"end_line":2844,"end_character":53},"updated":"2021-01-27 19:01:26.000000000","message":"no need to cast, will get formatted.","commit_id":"094b0f0057d8051e1d0e904c100a3db5852f05e7"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"7097afdabb2f19f4ed9361741910c331be157683","unresolved":true,"context_lines":[{"line_number":4953,"context_line":"    mappings \u003d []"},{"line_number":4954,"context_line":"    for item in values.get(\u0027share_types\u0027) or []:"},{"line_number":4955,"context_line":"        mapping \u003d models.ShareGroupShareTypeMapping()"},{"line_number":4956,"context_line":"        mapping[\u0027id\u0027] \u003d str(uuidutils.generate_uuid())"},{"line_number":4957,"context_line":"        mapping[\u0027share_type_id\u0027] \u003d item"},{"line_number":4958,"context_line":"        mapping[\u0027share_group_id\u0027] \u003d values[\u0027id\u0027]"},{"line_number":4959,"context_line":"        mappings.append(mapping)"}],"source_content_type":"text/x-python","patch_set":4,"id":"23a5c4e0_a66263f4","line":4956,"range":{"start_line":4956,"start_character":24,"end_line":4956,"end_character":54},"updated":"2021-01-27 19:01:26.000000000","message":"here and below, no need to cast, generate_uuid() provides a string always - however, if we don\u0027t trust that, the type for this field in the sqlalchemy model is string, and casting will be performed implicitly, and the schema has it as a string as well;","commit_id":"094b0f0057d8051e1d0e904c100a3db5852f05e7"}],"manila/message/api.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"7097afdabb2f19f4ed9361741910c331be157683","unresolved":true,"context_lines":[{"line_number":76,"context_line":"                offset\u003dNone, sort_key\u003dNone, sort_dir\u003dNone):"},{"line_number":77,"context_line":"        \"\"\"Return messages for the given context.\"\"\""},{"line_number":78,"context_line":"        LOG.debug(\"Searching for messages by: %s\","},{"line_number":79,"context_line":"                  str(search_opts))"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"        search_opts \u003d search_opts or {}"},{"line_number":82,"context_line":"        messages \u003d self.db.message_get_all(context, filters\u003dsearch_opts,"}],"source_content_type":"text/x-python","patch_set":4,"id":"23be368b_a000c9ee","line":79,"range":{"start_line":79,"start_character":18,"end_line":79,"end_character":35},"updated":"2021-01-27 19:01:26.000000000","message":"no need to cast this, string formatting will take care of that","commit_id":"094b0f0057d8051e1d0e904c100a3db5852f05e7"}],"manila/network/linux/interface.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"852cf60deaacba5f79954cf156ee8f588a7ff6cf","unresolved":false,"context_lines":[{"line_number":115,"context_line":"            # this is a concurrency problem, it would not fix the problem."},{"line_number":116,"context_line":"            addr_list \u003d device.addr.list()"},{"line_number":117,"context_line":"        except Exception as e:"},{"line_number":118,"context_line":"            if \u0027does not exist\u0027 in str(e):"},{"line_number":119,"context_line":"                LOG.warning("},{"line_number":120,"context_line":"                    \"Device %s does not exist anymore.\", device.name)"},{"line_number":121,"context_line":"            else:"}],"source_content_type":"text/x-python","patch_set":1,"id":"9f560f44_9dca5f16","line":118,"updated":"2020-10-09 04:36:26.000000000","message":"pep8: M325 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"71375a43478b5e26f4e7d15fb310dd77261e0afd"}],"manila/network/linux/ip_lib.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"852cf60deaacba5f79954cf156ee8f588a7ff6cf","unresolved":false,"context_lines":[{"line_number":461,"context_line":"    try:"},{"line_number":462,"context_line":"        address \u003d IPDevice(device_name, namespace).link.address"},{"line_number":463,"context_line":"    except Exception as e:"},{"line_number":464,"context_line":"        if \u0027does not exist\u0027 in str(e):"},{"line_number":465,"context_line":"            return False"},{"line_number":466,"context_line":"        raise"},{"line_number":467,"context_line":"    return bool(address)"}],"source_content_type":"text/x-python","patch_set":1,"id":"9f560f44_3dc99324","line":464,"updated":"2020-10-09 04:36:26.000000000","message":"pep8: M325 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"71375a43478b5e26f4e7d15fb310dd77261e0afd"}],"manila/network/neutron/neutron_network_plugin.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"7097afdabb2f19f4ed9361741910c331be157683","unresolved":true,"context_lines":[{"line_number":188,"context_line":"            remaining_allocations, port_list)"},{"line_number":189,"context_line":""},{"line_number":190,"context_line":"        LOG.debug(\"Found matching allocations in Neutron:\""},{"line_number":191,"context_line":"                  \" %s\", str(selected_ports))"},{"line_number":192,"context_line":""},{"line_number":193,"context_line":"        for selected_port in selected_ports:"},{"line_number":194,"context_line":"            port_dict \u003d {"}],"source_content_type":"text/x-python","patch_set":4,"id":"4467f6db_6f8e88d2","line":191,"range":{"start_line":191,"start_character":25,"end_line":191,"end_character":45},"updated":"2021-01-27 19:01:26.000000000","message":"no need to cast this, string formatting will take care of that","commit_id":"094b0f0057d8051e1d0e904c100a3db5852f05e7"}],"manila/scheduler/evaluator/evaluator.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"852cf60deaacba5f79954cf156ee8f588a7ff6cf","unresolved":false,"context_lines":[{"line_number":45,"context_line":"            try:"},{"line_number":46,"context_line":"                result \u003d _vars[which_dict][entry]"},{"line_number":47,"context_line":"            except KeyError as e:"},{"line_number":48,"context_line":"                msg \u003d _(\"KeyError: %s\") % str(e)"},{"line_number":49,"context_line":"                raise exception.EvaluatorParseException(reason\u003dmsg)"},{"line_number":50,"context_line":"            except TypeError as e:"},{"line_number":51,"context_line":"                msg \u003d _(\"TypeError: %s\") % str(e)"}],"source_content_type":"text/x-python","patch_set":1,"id":"9f560f44_dd521768","line":48,"updated":"2020-10-09 04:36:26.000000000","message":"pep8: M325 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"71375a43478b5e26f4e7d15fb310dd77261e0afd"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"852cf60deaacba5f79954cf156ee8f588a7ff6cf","unresolved":false,"context_lines":[{"line_number":48,"context_line":"                msg \u003d _(\"KeyError: %s\") % str(e)"},{"line_number":49,"context_line":"                raise exception.EvaluatorParseException(reason\u003dmsg)"},{"line_number":50,"context_line":"            except TypeError as e:"},{"line_number":51,"context_line":"                msg \u003d _(\"TypeError: %s\") % str(e)"},{"line_number":52,"context_line":"                raise exception.EvaluatorParseException(reason\u003dmsg)"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":1,"id":"9f560f44_bd4f63bc","line":51,"updated":"2020-10-09 04:36:26.000000000","message":"pep8: M325 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"71375a43478b5e26f4e7d15fb310dd77261e0afd"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"852cf60deaacba5f79954cf156ee8f588a7ff6cf","unresolved":false,"context_lines":[{"line_number":57,"context_line":"            try:"},{"line_number":58,"context_line":"                result \u003d float(result)"},{"line_number":59,"context_line":"            except ValueError as e:"},{"line_number":60,"context_line":"                msg \u003d _(\"ValueError: %s\") % str(e)"},{"line_number":61,"context_line":"                raise exception.EvaluatorParseException(reason\u003dmsg)"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"        return result"}],"source_content_type":"text/x-python","patch_set":1,"id":"9f560f44_1d492fb7","line":60,"updated":"2020-10-09 04:36:26.000000000","message":"pep8: M325 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"71375a43478b5e26f4e7d15fb310dd77261e0afd"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"852cf60deaacba5f79954cf156ee8f588a7ff6cf","unresolved":false,"context_lines":[{"line_number":103,"context_line":"                elif op \u003d\u003d \u0027/\u0027:"},{"line_number":104,"context_line":"                    prod /\u003d float(val.eval())"},{"line_number":105,"context_line":"            except ZeroDivisionError as e:"},{"line_number":106,"context_line":"                msg \u003d _(\"ZeroDivisionError: %s\") % str(e)"},{"line_number":107,"context_line":"                raise exception.EvaluatorParseException(reason\u003dmsg)"},{"line_number":108,"context_line":"        return prod"},{"line_number":109,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"9f560f44_fd455b9c","line":106,"updated":"2020-10-09 04:36:26.000000000","message":"pep8: M325 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"71375a43478b5e26f4e7d15fb310dd77261e0afd"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"852cf60deaacba5f79954cf156ee8f588a7ff6cf","unresolved":false,"context_lines":[{"line_number":291,"context_line":"    try:"},{"line_number":292,"context_line":"        result \u003d _parser.parseString(expression, parseAll\u003dTrue)[0]"},{"line_number":293,"context_line":"    except pyparsing.ParseException as e:"},{"line_number":294,"context_line":"        msg \u003d _(\"ParseException: %s\") % str(e)"},{"line_number":295,"context_line":"        raise exception.EvaluatorParseException(reason\u003dmsg)"},{"line_number":296,"context_line":""},{"line_number":297,"context_line":"    return result.eval()"}],"source_content_type":"text/x-python","patch_set":1,"id":"9f560f44_5dc4470e","line":294,"updated":"2020-10-09 04:36:26.000000000","message":"pep8: M325 str() and unicode() cannot be used on an exception.  Remove or use six.text_type()","commit_id":"71375a43478b5e26f4e7d15fb310dd77261e0afd"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"7097afdabb2f19f4ed9361741910c331be157683","unresolved":true,"context_lines":[{"line_number":45,"context_line":"            try:"},{"line_number":46,"context_line":"                result \u003d _vars[which_dict][entry]"},{"line_number":47,"context_line":"            except KeyError as e:"},{"line_number":48,"context_line":"                msg \u003d _(\"KeyError: %s\") % str(e)"},{"line_number":49,"context_line":"                raise exception.EvaluatorParseException(reason\u003dmsg)"},{"line_number":50,"context_line":"            except TypeError as e:"},{"line_number":51,"context_line":"                msg \u003d _(\"TypeError: %s\") % str(e)"}],"source_content_type":"text/x-python","patch_set":4,"id":"a9b4e664_e7d5b916","line":48,"range":{"start_line":48,"start_character":22,"end_line":48,"end_character":48},"updated":"2021-01-27 19:01:26.000000000","message":"No need to type cast this, when string formatting will take care of doing that. Same with all the occurrences below","commit_id":"094b0f0057d8051e1d0e904c100a3db5852f05e7"}],"manila/scheduler/host_manager.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"7097afdabb2f19f4ed9361741910c331be157683","unresolved":true,"context_lines":[{"line_number":376,"context_line":"                and self.free_capacity_gb !\u003d \u0027unknown\u0027):"},{"line_number":377,"context_line":"            raise exception.InvalidCapacity("},{"line_number":378,"context_line":"                name\u003d\u0027free_capacity_gb\u0027,"},{"line_number":379,"context_line":"                value\u003dstr(self.free_capacity_gb)"},{"line_number":380,"context_line":"            )"},{"line_number":381,"context_line":""},{"line_number":382,"context_line":"        if self.free_capacity_gb !\u003d \u0027unknown\u0027:"}],"source_content_type":"text/x-python","patch_set":4,"id":"6bfaffe7_4e9e844d","line":379,"range":{"start_line":379,"start_character":22,"end_line":379,"end_character":48},"updated":"2021-01-27 19:01:26.000000000","message":"line 375 qualifies that this is a string","commit_id":"094b0f0057d8051e1d0e904c100a3db5852f05e7"}]}
