)]}'
{"dragonflow/common/utils.py":[{"author":{"_account_id":20229,"name":"Omer Anson","email":"omer.anson@toganetworks.com","username":"oanson"},"change_message_id":"10bde2d3ae328237502048727a2cf11f91dd0f38","unresolved":false,"context_lines":[{"line_number":36,"context_line":"        try:"},{"line_number":37,"context_line":"            class_to_load \u003d importutils.import_class(driver_cfg)"},{"line_number":38,"context_line":"        except (ImportError, ValueError):"},{"line_number":39,"context_line":"            LOG.error(_LE(\"Error loading class by alias\"),"},{"line_number":40,"context_line":"                      exc_info\u003de1_info)"},{"line_number":41,"context_line":"            LOG.error(_LE(\"Error loading class by class name\"),"},{"line_number":42,"context_line":"                      exc_info\u003dTrue)"},{"line_number":43,"context_line":"            raise ImportError(_(\"Class not found.\"))"},{"line_number":44,"context_line":"    return class_to_load()"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"5a5ae5dd_4c394fd6","line":43,"range":{"start_line":39,"start_character":0,"end_line":43,"end_character":52},"updated":"2016-02-07 06:57:12.000000000","message":"Consider adding class name/alias to log messages and/or exception. This would assist debugging.","commit_id":"6682caec40c09325ec54b25ef79557bb08bb319d"},{"author":{"_account_id":11343,"name":"Gal Sagie","email":"gal.sagie@gmail.com","username":"GalSagie"},"change_message_id":"5020f257fbfccfc28d7c434f81aad05723b550c4","unresolved":false,"context_lines":[{"line_number":31,"context_line":"        mgr \u003d driver.DriverManager(namespace, driver_cfg)"},{"line_number":32,"context_line":"        class_to_load \u003d mgr.driver"},{"line_number":33,"context_line":"    except RuntimeError:"},{"line_number":34,"context_line":"        e1_info \u003d sys.exc_info()"},{"line_number":35,"context_line":"        # try with name"},{"line_number":36,"context_line":"        try:"},{"line_number":37,"context_line":"            class_to_load \u003d importutils.import_class(driver_cfg)"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a5ae5dd_92a7620a","line":34,"updated":"2016-02-07 11:22:15.000000000","message":"not sure what this does, but ok.. :)","commit_id":"c624488299fdbce5135c4f2e179b1952d1627785"},{"author":{"_account_id":11343,"name":"Gal Sagie","email":"gal.sagie@gmail.com","username":"GalSagie"},"change_message_id":"5020f257fbfccfc28d7c434f81aad05723b550c4","unresolved":false,"context_lines":[{"line_number":38,"context_line":"        except (ImportError, ValueError):"},{"line_number":39,"context_line":"            LOG.error(_LE(\"Error loading class %(class)s by alias e: %(e)s\")"},{"line_number":40,"context_line":"                    % {\u0027class\u0027: driver_cfg, \u0027e\u0027: e1_info},"},{"line_number":41,"context_line":"                    exc_info\u003de1_info)"},{"line_number":42,"context_line":"            LOG.error(_LE(\"Error loading class by class name\"),"},{"line_number":43,"context_line":"                      exc_info\u003dTrue)"},{"line_number":44,"context_line":"            raise ImportError(_(\"Class not found.\"))"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a5ae5dd_32b30e52","line":41,"updated":"2016-02-07 11:22:15.000000000","message":"\"exc_info\u003de1_info\", not sure why this is needed but i see its the same in Neutron","commit_id":"c624488299fdbce5135c4f2e179b1952d1627785"},{"author":{"_account_id":13070,"name":"Eran Gampel","email":"eran@gampel.net","username":"Gampel"},"change_message_id":"ab5120ef5a47231aff6bf2902e259e6e9c152ed4","unresolved":false,"context_lines":[{"line_number":38,"context_line":"        except (ImportError, ValueError):"},{"line_number":39,"context_line":"            LOG.error(_LE(\"Error loading class %(class)s by alias e: %(e)s\")"},{"line_number":40,"context_line":"                    % {\u0027class\u0027: driver_cfg, \u0027e\u0027: e1_info},"},{"line_number":41,"context_line":"                    exc_info\u003de1_info)"},{"line_number":42,"context_line":"            LOG.error(_LE(\"Error loading class by class name\"),"},{"line_number":43,"context_line":"                      exc_info\u003dTrue)"},{"line_number":44,"context_line":"            raise ImportError(_(\"Class not found.\"))"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a5ae5dd_12b93215","line":41,"in_reply_to":"5a5ae5dd_32b30e52","updated":"2016-02-07 11:35:35.000000000","message":"THIS IS THE Formats the specified exception information \n\nit is used so we print the first exception  info in the second nested exception","commit_id":"c624488299fdbce5135c4f2e179b1952d1627785"}]}
