]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2853] Update coding style
authorMukund Sivaraman <muks@isc.org>
Wed, 12 Jun 2013 10:37:00 +0000 (16:07 +0530)
committerMukund Sivaraman <muks@isc.org>
Wed, 12 Jun 2013 10:37:00 +0000 (16:07 +0530)
src/lib/python/isc/datasrc/configurableclientlist_python.cc

index 9c3f1ab92db0d17c4cb319baa05c02386b7a4e88..170e237b3f406604f2ecb91a0a6e0d2177cc241f 100644 (file)
@@ -210,7 +210,7 @@ ConfigurableClientList_getStatus(PyObject* po_self, PyObject*) {
         }
 
         for (size_t i = 0; i < status.size(); ++i) {
-            PyObject *segment_type = NULL;
+            PyObjectsegment_type = NULL;
             try {
                 segment_type = Py_BuildValue(
                     "s", status[i].getSegmentType().c_str());
@@ -219,7 +219,7 @@ ConfigurableClientList_getStatus(PyObject* po_self, PyObject*) {
                 segment_type = Py_None;
             }
 
-            PyObject *tup = Py_BuildValue("(sOI)",
+            PyObjecttup = Py_BuildValue("(sOI)",
                                           status[i].getName().c_str(),
                                           segment_type,
                                           status[i].getSegmentState());