Browse Source

[2051] Remove dead code

Michal 'vorner' Vaner 12 years ago
parent
commit
1e8929c599
1 changed files with 0 additions and 19 deletions
  1. 0 19
      src/lib/python/isc/datasrc/configurableclientlist_python.cc

+ 0 - 19
src/lib/python/isc/datasrc/configurableclientlist_python.cc

@@ -300,25 +300,6 @@ initModulePart_ConfigurableClientList(PyObject* mod) {
     }
     Py_INCREF(&configurableclientlist_type);
 
-#if 0
-    TODO: The return states, etc.
-    try {
-        // Constant class variables
-        installClassVariable(configurableclientlist_type, "REPLACE_ME",
-                             Py_BuildValue("REPLACE ME"));
-    } catch (const exception& ex) {
-        const string ex_what =
-            "Unexpected failure in ConfigurableClientList initialization: " +
-            string(ex.what());
-        PyErr_SetString(po_IscException, ex_what.c_str());
-        return (false);
-    } catch (...) {
-        PyErr_SetString(PyExc_SystemError,
-                        "Unexpected failure in ConfigurableClientList initialization");
-        return (false);
-    }
-#endif
-
     return (true);
 }