)]}'
{"ironic_python_agent/extensions/image.py":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"e411fcfb2516179adbe542f8fd41ab6e072d7585","unresolved":false,"context_lines":[{"line_number":516,"context_line":"        boot \u003d hardware.dispatch_to_managers(\u0027get_boot_info\u0027)"},{"line_number":517,"context_line":"        if boot.current_boot_mode \u003d\u003d \u0027uefi\u0027:"},{"line_number":518,"context_line":"            has_efibootmgr \u003d True"},{"line_number":519,"context_line":"            # NOTE(iurygregory): adaptation for py27 since we don\u0027t have"},{"line_number":520,"context_line":"            # FileNotFoundError defined."},{"line_number":521,"context_line":"            try:"},{"line_number":522,"context_line":"                FileNotFoundError"},{"line_number":523,"context_line":"            except NameError:"},{"line_number":524,"context_line":"                FileNotFoundError \u003d OSError"},{"line_number":525,"context_line":"            try:"},{"line_number":526,"context_line":"                utils.execute(\u0027efibootmgr\u0027, \u0027--version\u0027)"},{"line_number":527,"context_line":"            except FileNotFoundError:"}],"source_content_type":"text/x-python","patch_set":2,"id":"1fa4df85_0f63b6b3","line":524,"range":{"start_line":519,"start_character":0,"end_line":524,"end_character":43},"updated":"2020-03-09 08:37:11.000000000","message":"You could just use OSError, FileNotFoundError inherits it","commit_id":"f30dcb671f9a82ce73f3e33b9d7ef98e2c8c4466"}]}
