From: Michael Tremer Date: Tue, 23 Aug 2022 09:40:21 +0000 (+0000) Subject: python: Export DatabaseEnumerator type X-Git-Tag: 0.9.15~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b4923a3122c8cd7876b8c7bb0ed20b5945c0ed56;p=location%2Flibloc.git python: Export DatabaseEnumerator type This is useful for tests Signed-off-by: Michael Tremer --- diff --git a/src/python/locationmodule.c b/src/python/locationmodule.c index 09cd5dd..46d9f83 100644 --- a/src/python/locationmodule.c +++ b/src/python/locationmodule.c @@ -147,7 +147,7 @@ PyMODINIT_FUNC PyInit__location(void) { return NULL; Py_INCREF(&DatabaseEnumeratorType); - //PyModule_AddObject(m, "DatabaseEnumerator", (PyObject *)&DatabaseEnumeratorType); + PyModule_AddObject(m, "DatabaseEnumerator", (PyObject *)&DatabaseEnumeratorType); // Network if (PyType_Ready(&NetworkType) < 0)