Commit b4923a31 authored by Michael Tremer's avatar Michael Tremer

python: Export DatabaseEnumerator type

This is useful for tests
Signed-off-by: default avatarMichael Tremer <michael.tremer@ipfire.org>
parent 8fcb5bc7
...@@ -147,7 +147,7 @@ PyMODINIT_FUNC PyInit__location(void) { ...@@ -147,7 +147,7 @@ PyMODINIT_FUNC PyInit__location(void) {
return NULL; return NULL;
Py_INCREF(&DatabaseEnumeratorType); Py_INCREF(&DatabaseEnumeratorType);
//PyModule_AddObject(m, "DatabaseEnumerator", (PyObject *)&DatabaseEnumeratorType); PyModule_AddObject(m, "DatabaseEnumerator", (PyObject *)&DatabaseEnumeratorType);
// Network // Network
if (PyType_Ready(&NetworkType) < 0) if (PyType_Ready(&NetworkType) < 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment