)]}'
{"openstack_dashboard/dashboards/admin/flavors/forms.py":[{"author":{"_account_id":1816,"name":"Gabriel Hurley","email":"gabriel.hurley@nebula.com","username":"gabriel-hurley"},"change_message_id":"7c82f5922a43443813d495f6efb025aaa4190050","unresolved":false,"context_lines":[{"line_number":49,"context_line":"            exceptions.check_message([\"Connection\", \"refused\"], msg)"},{"line_number":50,"context_line":"            raise"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"        if flavors is not None:"},{"line_number":53,"context_line":"            for flavor in flavors:"},{"line_number":54,"context_line":"                if flavor.name \u003d\u003d name:"},{"line_number":55,"context_line":"                    raise forms.ValidationError("}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAMH%2F%2F1X8%3D","line":52,"updated":"2012-11-20 20:42:47.000000000","message":"If there was an exception above then flavors would be undefined here and raise an exception. You can set flavors \u003d [] in the except block and then leave out this check. Just iterate over it.","commit_id":"13609767405f5b0b44a6efeacf1705f67bf62f79"}]}
