)]}'
{"ironic/api/controllers/v1/port.py":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"015a0dd9f6504bb99f21692682607d116de13bc8","unresolved":false,"context_lines":[{"line_number":446,"context_line":"        if (isinstance(fields, dict)"},{"line_number":447,"context_line":"                and fields.get(\u0027local_link_connection\u0027) is not None):"},{"line_number":448,"context_line":"            if (not api_utils.allow_local_link_connection_network_type()"},{"line_number":449,"context_line":"                    and \u0027network_type\u0027 in fields.get(\u0027local_link_connection\u0027,"},{"line_number":450,"context_line":"                                                     {}).keys()):"},{"line_number":451,"context_line":"                raise exception.NotAcceptable()"},{"line_number":452,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_074f6cbd","line":449,"updated":"2020-04-07 16:15:24.000000000","message":"you no longer need get() here since you know that the field is present","commit_id":"16e4d27ecda1fa1cffe6ac5695f17bec345dfc12"},{"author":{"_account_id":24245,"name":"Harald Jensås","email":"hjensas@redhat.com","username":"harald.jensas"},"change_message_id":"c43de2f0c76629088bd1a5ed624a47fb3d7a3a00","unresolved":false,"context_lines":[{"line_number":446,"context_line":"        if (isinstance(fields, dict)"},{"line_number":447,"context_line":"                and fields.get(\u0027local_link_connection\u0027) is not None):"},{"line_number":448,"context_line":"            if (not api_utils.allow_local_link_connection_network_type()"},{"line_number":449,"context_line":"                    and \u0027network_type\u0027 in fields.get(\u0027local_link_connection\u0027,"},{"line_number":450,"context_line":"                                                     {}).keys()):"},{"line_number":451,"context_line":"                raise exception.NotAcceptable()"},{"line_number":452,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_2d01af05","line":449,"in_reply_to":"df33271e_074f6cbd","updated":"2020-04-08 11:00:17.000000000","message":"Done","commit_id":"16e4d27ecda1fa1cffe6ac5695f17bec345dfc12"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"72b8ff343e606f8f898618079310354f7c252ac3","unresolved":false,"context_lines":[{"line_number":447,"context_line":"                and fields.get(\u0027local_link_connection\u0027) is not None):"},{"line_number":448,"context_line":"            if (not api_utils.allow_local_link_connection_network_type()"},{"line_number":449,"context_line":"                    and \u0027network_type\u0027"},{"line_number":450,"context_line":"                    in fields[\u0027local_link_connection\u0027].keys()):"},{"line_number":451,"context_line":"                raise exception.NotAcceptable()"},{"line_number":452,"context_line":""},{"line_number":453,"context_line":"    @METRICS.timer(\u0027PortsController.get_all\u0027)"}],"source_content_type":"text/x-python","patch_set":3,"id":"df33271e_29b871c6","line":450,"range":{"start_line":450,"start_character":54,"end_line":450,"end_character":61},"updated":"2020-04-08 07:44:10.000000000","message":"nit: .keys() not needed","commit_id":"dd7b434a3c181fc9a826e64c0e75e76ced51dc77"},{"author":{"_account_id":24245,"name":"Harald Jensås","email":"hjensas@redhat.com","username":"harald.jensas"},"change_message_id":"c43de2f0c76629088bd1a5ed624a47fb3d7a3a00","unresolved":false,"context_lines":[{"line_number":447,"context_line":"                and fields.get(\u0027local_link_connection\u0027) is not None):"},{"line_number":448,"context_line":"            if (not api_utils.allow_local_link_connection_network_type()"},{"line_number":449,"context_line":"                    and \u0027network_type\u0027"},{"line_number":450,"context_line":"                    in fields[\u0027local_link_connection\u0027].keys()):"},{"line_number":451,"context_line":"                raise exception.NotAcceptable()"},{"line_number":452,"context_line":""},{"line_number":453,"context_line":"    @METRICS.timer(\u0027PortsController.get_all\u0027)"}],"source_content_type":"text/x-python","patch_set":3,"id":"df33271e_2144051b","line":450,"range":{"start_line":450,"start_character":54,"end_line":450,"end_character":61},"in_reply_to":"df33271e_29b871c6","updated":"2020-04-08 11:00:17.000000000","message":"Done","commit_id":"dd7b434a3c181fc9a826e64c0e75e76ced51dc77"}],"releasenotes/notes/bug-1871346-port-local-link-connection-nonetype-attribute-error-6c377f63482cf032.yaml":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"015a0dd9f6504bb99f21692682607d116de13bc8","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    When the \u0027local_link_connection\u0027 field is None an AttributeError is raised"},{"line_number":5,"context_line":"    when attempting to get the keys. See `bug: 1871346"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"df33271e_e749a8b7","line":2,"updated":"2020-04-07 16:15:24.000000000","message":"The previous change hasn\u0027t been released, let\u0027s not add a release note.","commit_id":"16e4d27ecda1fa1cffe6ac5695f17bec345dfc12"},{"author":{"_account_id":24245,"name":"Harald Jensås","email":"hjensas@redhat.com","username":"harald.jensas"},"change_message_id":"c43de2f0c76629088bd1a5ed624a47fb3d7a3a00","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    When the \u0027local_link_connection\u0027 field is None an AttributeError is raised"},{"line_number":5,"context_line":"    when attempting to get the keys. See `bug: 1871346"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"df33271e_6d0bb723","line":2,"in_reply_to":"df33271e_e749a8b7","updated":"2020-04-08 11:00:17.000000000","message":"Done","commit_id":"16e4d27ecda1fa1cffe6ac5695f17bec345dfc12"}]}
