]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2853] Add a note that Py_BuildValue() will not throw
authorMukund Sivaraman <muks@isc.org>
Thu, 13 Jun 2013 13:53:14 +0000 (19:23 +0530)
committerMukund Sivaraman <muks@isc.org>
Thu, 13 Jun 2013 13:53:14 +0000 (19:23 +0530)
src/lib/python/isc/datasrc/configurableclientlist_python.cc

index 9ccdc060810e4207559ef45f8b16fa60cec6392f..e6e160a876d728d09752eeb6df3ed9c8715e8ce8 100644 (file)
@@ -219,6 +219,7 @@ ConfigurableClientList_getStatus(PyObject* po_self, PyObject*) {
                 segment_type = Py_None;
             }
 
+            // Py_BuildValue() is a C function and will not throw.
             PyObject* tup = Py_BuildValue("(sOI)",
                                           status[i].getName().c_str(),
                                           segment_type,