BIND 10 trac2853, updated. b3befd1fe7fed482817a7ccf05baa6292fd7a56a [2853] make sure to return None (Py_None) for py methods returning None.
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Jun 6 16:37:11 UTC 2013
The branch, trac2853 has been updated
via b3befd1fe7fed482817a7ccf05baa6292fd7a56a (commit)
from 71de47f8d14d274ae2223e56423d6022a3cf0369 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit b3befd1fe7fed482817a7ccf05baa6292fd7a56a
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Thu Jun 6 09:36:33 2013 -0700
[2853] make sure to return None (Py_None) for py methods returning None.
-----------------------------------------------------------------------
Summary of changes:
src/lib/python/isc/datasrc/zonewriter_python.cc | 6 ++++++
1 file changed, 6 insertions(+)
-----------------------------------------------------------------------
diff --git a/src/lib/python/isc/datasrc/zonewriter_python.cc b/src/lib/python/isc/datasrc/zonewriter_python.cc
index 2f56808..8efcb16 100644
--- a/src/lib/python/isc/datasrc/zonewriter_python.cc
+++ b/src/lib/python/isc/datasrc/zonewriter_python.cc
@@ -94,6 +94,8 @@ ZoneWriter_load(PyObject* po_self, PyObject*) {
"Unknown C++ exception");
return (NULL);
}
+
+ return (Py_None);
}
PyObject*
@@ -109,6 +111,8 @@ ZoneWriter_install(PyObject* po_self, PyObject*) {
"Unknown C++ exception");
return (NULL);
}
+
+ return (Py_None);
}
PyObject*
@@ -124,6 +128,8 @@ ZoneWriter_cleanup(PyObject* po_self, PyObject*) {
"Unknown C++ exception");
return (NULL);
}
+
+ return (Py_None);
}
// This list contains the actual set of functions we have in
More information about the bind10-changes
mailing list