)]}'
{"glance/openstack/common/db/sqlalchemy/session.py":[{"author":{"_account_id":6549,"name":"Zhi Yan Liu","email":"lzy.dev@gmail.com","username":"lzy-dev"},"change_message_id":"cbf4d71e3c875ba20203832f29ed6ffb0debb6ef","unresolved":false,"context_lines":[{"line_number":618,"context_line":"        cursor.execute(ping_sql)"},{"line_number":619,"context_line":"    except Exception as ex:"},{"line_number":620,"context_line":"        if engine.dialect.is_disconnect(ex, dbapi_conn, cursor):"},{"line_number":621,"context_line":"            msg \u003d _(\u0027Database server has gone away: %s\u0027) % ex"},{"line_number":622,"context_line":"            LOG.warning(msg)"},{"line_number":623,"context_line":"            raise sqla_exc.DisconnectionError(msg)"},{"line_number":624,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAUH%2F%2Fqps%3D","line":621,"updated":"2014-01-09 21:53:13.000000000","message":"to prevent potential character coding error, I think it will be better if we always do unicode conversion on exception object.\n\nmsg \u003d _(\u0027Database server has gone away: %s\u0027) % unicode(ex)","commit_id":"922f4a28c9498ee450c095868cce587cddcf033a"},{"author":{"_account_id":5313,"name":"David Peraza","email":"david_peraza@persistentsys.com","username":"dperaza"},"change_message_id":"91d1a40b205bb8c0c956f46fa22d248e6c9537a7","unresolved":false,"context_lines":[{"line_number":618,"context_line":"        cursor.execute(ping_sql)"},{"line_number":619,"context_line":"    except Exception as ex:"},{"line_number":620,"context_line":"        if engine.dialect.is_disconnect(ex, dbapi_conn, cursor):"},{"line_number":621,"context_line":"            msg \u003d _(\u0027Database server has gone away: %s\u0027) % ex"},{"line_number":622,"context_line":"            LOG.warning(msg)"},{"line_number":623,"context_line":"            raise sqla_exc.DisconnectionError(msg)"},{"line_number":624,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAUH%2F%2Fqjw%3D","line":621,"in_reply_to":"AAAAUH%2F%2Fqps%3D","updated":"2014-01-09 22:16:42.000000000","message":"Agree on making the change in oslo, see what they think there","commit_id":"922f4a28c9498ee450c095868cce587cddcf033a"}]}
