]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2853] Fix args type for load() method
authorMukund Sivaraman <muks@isc.org>
Tue, 11 Jun 2013 08:35:51 +0000 (14:05 +0530)
committerMukund Sivaraman <muks@isc.org>
Tue, 11 Jun 2013 08:35:51 +0000 (14:05 +0530)
src/lib/python/isc/datasrc/zonewriter_python.cc

index 713c44db676f82b6d5cd26e79728b0037478fdcc..b3783e83f6d905a78facc7a755a137b48a12cdc6 100644 (file)
@@ -145,7 +145,7 @@ ZoneWriter_cleanup(PyObject* po_self, PyObject*) {
 // 3. Argument type
 // 4. Documentation
 PyMethodDef ZoneWriter_methods[] = {
-    { "load", ZoneWriter_load, METH_VARARGS,
+    { "load", ZoneWriter_load, METH_NOARGS,
       ZoneWriter_load_doc },
     { "install", ZoneWriter_install, METH_NOARGS,
       ZoneWriter_install_doc },