)]}'
{"nova/virt/baremetal/utils.py":[{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"96d2f9ef5fa538091ebeb1d229a78a09514b095a","unresolved":false,"context_lines":[{"line_number":59,"context_line":"def create_link_without_raise(source, link):"},{"line_number":60,"context_line":"    try:"},{"line_number":61,"context_line":"        if os.path.exists(source):"},{"line_number":62,"context_line":"            os.symlink(source, link)"},{"line_number":63,"context_line":"    except OSError:"},{"line_number":64,"context_line":"        LOG.warn(_(\"Failed to create symlink from %(source)s to %(link)s\")"},{"line_number":65,"context_line":"                % locals())"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAM3%2F%2FdY8%3D","line":62,"updated":"2013-01-21 20:13:06.000000000","message":"It\u0027s worth pointing out that there is still a race condition here that could cause os.symlink() to report EEXIST.  I would just do what you did for unlink_without_raise()—look for errno.EEXIST and skip it.","commit_id":"060a1ab908f238b1dc1031856550455cc2218718"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"110e0efcf66854cf2d4f99b7e6b774f624314594","unresolved":false,"context_lines":[{"line_number":59,"context_line":"def create_link_without_raise(source, link):"},{"line_number":60,"context_line":"    try:"},{"line_number":61,"context_line":"        if os.path.exists(source):"},{"line_number":62,"context_line":"            os.symlink(source, link)"},{"line_number":63,"context_line":"    except OSError:"},{"line_number":64,"context_line":"        LOG.warn(_(\"Failed to create symlink from %(source)s to %(link)s\")"},{"line_number":65,"context_line":"                % locals())"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAM3%2F%2Fct0%3D","line":62,"in_reply_to":"AAAAM3%2F%2FdY8%3D","updated":"2013-01-22 03:30:57.000000000","message":"Done","commit_id":"060a1ab908f238b1dc1031856550455cc2218718"}]}
