mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-08-01 19:00: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;
|
PyObject *ptype = NULL, *pvalue = NULL, *ptb = NULL;
|
||||||
PyErr_Fetch(&ptype, &pvalue, &ptb);
|
PyErr_Fetch(&ptype, &pvalue, &ptb);
|
||||||
obscure_password(self);
|
obscure_password(self);
|
||||||
// if we got a system exit exception (not a subclass of Exception),
|
/* try ... except Exception: instead of try ... except: */
|
||||||
// leave it as is, do not restore
|
|
||||||
if (PyErr_Occurred() && ! PyErr_ExceptionMatches(PyExc_Exception)) {
|
if (PyErr_Occurred() && ! PyErr_ExceptionMatches(PyExc_Exception)) {
|
||||||
Py_XDECREF(ptype);
|
Py_XDECREF(ptype);
|
||||||
Py_XDECREF(pvalue);
|
Py_XDECREF(pvalue);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user