)]}'
{"glance/common/config.py":[{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"03058571a01bb4f40827132b68bb1c5c6ea439bb","unresolved":false,"context_lines":[{"line_number":766,"context_line":"    path \u003d CONF.paste_deploy.config_file"},{"line_number":767,"context_line":"    if not path:"},{"line_number":768,"context_line":"        path \u003d _get_paste_config_path()"},{"line_number":769,"context_line":"    if not path or not (os.path.isfile(os.path.abspath(path))):"},{"line_number":770,"context_line":"        msg \u003d _(\"Unable to locate paste config file for %s.\") % CONF.prog"},{"line_number":771,"context_line":"        raise RuntimeError(msg)"},{"line_number":772,"context_line":"    return os.path.abspath(path)"}],"source_content_type":"text/x-python","patch_set":11,"id":"7f515b1d_19d902f2","line":769,"range":{"start_line":769,"start_character":24,"end_line":769,"end_character":61},"updated":"2017-09-28 21:34:04.000000000","message":"Seems like it might be better before the if statement to do the os.path.abspath once up front, then just use path for this check and the return below.","commit_id":"471fd8dd85b7db8799bb7913ac087bb1d554d66b"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"1c79921ccaaa298ae17db7a4d8efca221c8b6ac8","unresolved":false,"context_lines":[{"line_number":766,"context_line":"    path \u003d CONF.paste_deploy.config_file"},{"line_number":767,"context_line":"    if not path:"},{"line_number":768,"context_line":"        path \u003d _get_paste_config_path()"},{"line_number":769,"context_line":"    if not path or not (os.path.isfile(os.path.abspath(path))):"},{"line_number":770,"context_line":"        msg \u003d _(\"Unable to locate paste config file for %s.\") % CONF.prog"},{"line_number":771,"context_line":"        raise RuntimeError(msg)"},{"line_number":772,"context_line":"    return os.path.abspath(path)"}],"source_content_type":"text/x-python","patch_set":11,"id":"3f4b6375_e4ca686c","line":769,"range":{"start_line":769,"start_character":24,"end_line":769,"end_character":61},"in_reply_to":"7f515b1d_19d902f2","updated":"2017-10-20 17:48:07.000000000","message":"I\u0027m OK with this the way it is.  It protects us if the implementation of _get_dep_config_file changes and it can return None.  (Yeah, belt *and* suspenders.)","commit_id":"471fd8dd85b7db8799bb7913ac087bb1d554d66b"}]}
