mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-07-31 18:40:09 +03:00
fix comment style
This commit is contained in:
parent
e83ae9d69f
commit
3bc30f1454
|
@ -1395,8 +1395,7 @@ exit:
|
|||
PyObject *ptype = NULL, *pvalue = NULL, *ptb = NULL;
|
||||
PyErr_Fetch(&ptype, &pvalue, &ptb);
|
||||
obscure_password(self);
|
||||
// if we got a system exit exception (not a subclass of Exception),
|
||||
// leave it as is, do not restore
|
||||
/* try ... except Exception: instead of try ... except: */
|
||||
if (PyErr_Occurred() && ! PyErr_ExceptionMatches(PyExc_Exception)) {
|
||||
Py_XDECREF(ptype);
|
||||
Py_XDECREF(pvalue);
|
||||
|
|
Loading…
Reference in New Issue
Block a user