summaryrefslogtreecommitdiff
path: root/lib/command_py.c
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2021-03-09 07:58:43 -0500
committerGitHub <noreply@github.com>2021-03-09 07:58:43 -0500
commitda0a277faeb50082e92fe2c962cbf69ab3b153c1 (patch)
treeffb9bb3cdc52672e73c73a61fff3c876499f21cc /lib/command_py.c
parent6adedc6fe3773fe1abd4ef62797cfb2d336348be (diff)
parent3cb0eab36fe5b6536b261e704942ff03fc855f13 (diff)
Merge pull request #6807 from opensourcerouting/xref-extract
xrefs extraction tool
Diffstat (limited to 'lib/command_py.c')
-rw-r--r--lib/command_py.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/command_py.c b/lib/command_py.c
index 4ec116df33..7f19008fbf 100644
--- a/lib/command_py.c
+++ b/lib/command_py.c
@@ -345,5 +345,7 @@ PyMODINIT_FUNC command_py_init(void)
PyModule_AddObject(pymod, "GraphNode", (PyObject *)&typeobj_graph_node);
Py_INCREF(&typeobj_graph);
PyModule_AddObject(pymod, "Graph", (PyObject *)&typeobj_graph);
+ if (!elf_py_init(pymod))
+ initret(NULL);
initret(pymod);
}