Browse Source

[2853] Fix args type for load() method

Mukund Sivaraman 12 years ago
parent
commit
9d2bd293b5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/python/isc/datasrc/zonewriter_python.cc

+ 1 - 1
src/lib/python/isc/datasrc/zonewriter_python.cc

@@ -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 },