8e2528c312791c2c56c8bca365669e06ab698a88,recipes/Python/576534_Dump_Oracle_db_schema_to_text/recipe-576534.py,,init_db_conn,#Any#Any#Any#,311
Before Change
print("--%s" % (dbinfo))
_CONN = cx_Oracle.connect(username, passwd, connect_string)
except:
ex = sys.exc_info()
serr = "Exception: %s: %s\n%s" % (ex[0], ex[1], dbinfo)
print_err(serr)
return None
return _CONN
After Change
_CONN = cx_Oracle.connect(username, passwd, connect_string)
except:
serr = traceback.format_exc()
serr = "Exception while opening: %s\n%s" % (dbinfo, serr)
print_err(serr)
return None
return _CONN
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: ActiveState/code
Commit Name: 8e2528c312791c2c56c8bca365669e06ab698a88
Time: 2017-11-28
Author: mn@mn.heuthesd
File Name: recipes/Python/576534_Dump_Oracle_db_schema_to_text/recipe-576534.py
Class Name:
Method Name: init_db_conn
Project Name: ActiveState/code
Commit Name: 8e2528c312791c2c56c8bca365669e06ab698a88
Time: 2017-11-28
Author: mn@mn.heuthesd
File Name: recipes/Python/576534_Dump_Oracle_db_schema_to_text/recipe-576534.py
Class Name:
Method Name: add_ver_info
Project Name: sahana/eden
Commit Name: eb0bd3ee1c1822d7ee5a7a48f284ad22e8a9a9f2
Time: 2020-03-20
Author: fran@aidiq.com
File Name: modules/templates/CCC/controllers.py
Class Name:
Method Name: auth_user_register_onaccept