)]}'
{"neutron/manager.py":[{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"7eecb8e74acdb8f864d6d3734690d95d2964dbb6","unresolved":false,"context_lines":[{"line_number":149,"context_line":"            try:"},{"line_number":150,"context_line":"                plugin_class \u003d importutils.import_class(plugin_provider)"},{"line_number":151,"context_line":"            except ImportError:"},{"line_number":152,"context_line":"                LOG.exception(_LE(\"Error loading plugin by name\"),"},{"line_number":153,"context_line":"                              exc_info\u003de1_info)"},{"line_number":154,"context_line":"                LOG.exception(_LE(\"Error loading plugin by class\"))"},{"line_number":155,"context_line":"                raise ImportError(_(\"Plugin not found.\"))"}],"source_content_type":"text/x-python","patch_set":3,"id":"7a2fa921_83df560c","line":152,"updated":"2015-10-08 11:17:24.000000000","message":"You should use:\n\n LOG.error(...., exc_info\u003de1_info)\n\nas LOG.exception forces exc_info\u003d1","commit_id":"ccdeddb786699c2a89fda8d23e07b99c284e1d42"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"2a24c88c002d2207ca745a285e194b3b10751f8a","unresolved":false,"context_lines":[{"line_number":149,"context_line":"            try:"},{"line_number":150,"context_line":"                plugin_class \u003d importutils.import_class(plugin_provider)"},{"line_number":151,"context_line":"            except ImportError:"},{"line_number":152,"context_line":"                LOG.exception(_LE(\"Error loading plugin by name\"),"},{"line_number":153,"context_line":"                              exc_info\u003de1_info)"},{"line_number":154,"context_line":"                LOG.exception(_LE(\"Error loading plugin by class\"))"},{"line_number":155,"context_line":"                raise ImportError(_(\"Plugin not found.\"))"}],"source_content_type":"text/x-python","patch_set":3,"id":"7a2fa921_e372ca10","line":152,"in_reply_to":"7a2fa921_83df560c","updated":"2015-10-08 11:19:24.000000000","message":"https://hg.python.org/cpython/file/2.7/Lib/logging/__init__.py#l1193","commit_id":"ccdeddb786699c2a89fda8d23e07b99c284e1d42"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"98ea85ecbcc347a0189d97c585a51670e43d48f9","unresolved":false,"context_lines":[{"line_number":149,"context_line":"            try:"},{"line_number":150,"context_line":"                plugin_class \u003d importutils.import_class(plugin_provider)"},{"line_number":151,"context_line":"            except ImportError:"},{"line_number":152,"context_line":"                LOG.exception(_LE(\"Error loading plugin by name\"),"},{"line_number":153,"context_line":"                              exc_info\u003de1_info)"},{"line_number":154,"context_line":"                LOG.exception(_LE(\"Error loading plugin by class\"))"},{"line_number":155,"context_line":"                raise ImportError(_(\"Plugin not found.\"))"}],"source_content_type":"text/x-python","patch_set":3,"id":"7a2fa921_ced9f523","line":152,"in_reply_to":"7a2fa921_e372ca10","updated":"2015-10-08 11:57:08.000000000","message":"Done","commit_id":"ccdeddb786699c2a89fda8d23e07b99c284e1d42"}],"neutron/tests/unit/db/test_migration.py":[{"author":{"_account_id":4190,"name":"lifeless","email":"robertc@robertcollins.net","username":"lifeless"},"change_message_id":"ec9d97678d469ccb8a68bba1233ebd0c063e253b","unresolved":false,"context_lines":[{"line_number":345,"context_line":"                mock_open.return_value.__enter__ \u003d lambda s: s"},{"line_number":346,"context_line":"                mock_open.return_value.__exit__ \u003d mock.Mock()"},{"line_number":347,"context_line":"                mock_open.return_value.read.return_value \u003d ("},{"line_number":348,"context_line":"                    \u0027\\n\u0027.join(file_heads))"},{"line_number":349,"context_line":""},{"line_number":350,"context_line":"                if not branchless or all(head in file_heads for head in heads):"},{"line_number":351,"context_line":"                    cli.validate_head_file(fake_config)"}],"source_content_type":"text/x-python","patch_set":2,"id":"7a2fa921_e688aec7","line":348,"updated":"2015-10-07 23:23:19.000000000","message":"FWIW there\u0027s an explicit mock_open thing too you can use, or an in-memory fs. Its a bit of a red flag if other opens are being exercised within a test though...","commit_id":"b55c9758ea1e9a4878224ab674ddecc10ffa7afd"}]}
