This commit is contained in:
Michael Davidsaver
2013-04-07 11:37:26 -04:00
parent 641921664b
commit 094f031b27
2 changed files with 2 additions and 2 deletions

View File

@ -225,7 +225,7 @@ static void cleanupPy(void *junk)
pyField_cleanup();
/* release extra reference for hooktable */
Py_DECREF(hooktable);
Py_XDECREF(hooktable);
hooktable = NULL;
Py_Finalize();

View File

@ -3,7 +3,7 @@ from __future__ import print_function
try:
import _dbapi
except ImportError:
import _nullapi as _dbapi
import devsup._nullapi as _dbapi
__all__ = [
"hooknames",