Workaround for incorrect output formatting

This commit is contained in:
William S Fulton 2018-12-06 07:44:34 +00:00
commit 0147fb2e64

View file

@ -227,8 +227,9 @@ SWIG_Python_addvarlink(PyObject *p, const char *name, PyObject *(*get_attr)(void
SWIGINTERN PyObject *
SWIG_globals(void) {
static PyObject *globals = 0;
if (!globals)
if (!globals) {
globals = SWIG_newvarlink();
}
return globals;
}