)]}'
{"marconiclient/openstack/common/importutils.py":[{"author":{"_account_id":6944,"name":"Allele Dev","email":"cpp.cabrera@gmail.com","username":"cpp-cabrera"},"change_message_id":"82b517e4fcb42c8c3746195f8ae61eab71a2361e","unresolved":false,"context_lines":[{"line_number":60,"context_line":"    return sys.modules[import_str]"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"def try_import(import_str, default\u003dNone):"},{"line_number":64,"context_line":"    \"\"\"Try to import a module and if it fails return default.\"\"\""},{"line_number":65,"context_line":"    try:"},{"line_number":66,"context_line":"        return import_module(import_str)"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAS3%2F%2F1Xw%3D","line":63,"updated":"2013-09-18 14:30:46.000000000","message":"I\u0027ve never considered this pattern at the import level. This is actually really cool. It allows one to clean up the pattern of: ```try: import X2\\nexcept ImportError: import X3```","commit_id":"b819a626033cbd150bdc3e5a6c594df96776f4f6"}]}
