summaryrefslogtreecommitdiff
path: root/lib/command_py.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/command_py.c')
-rw-r--r--lib/command_py.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/command_py.c b/lib/command_py.c
index ff7b2d18a5..cce9542e30 100644
--- a/lib/command_py.c
+++ b/lib/command_py.c
@@ -355,7 +355,8 @@ PyMODINIT_FUNC command_py_init(void)
if (PyModule_AddIntMacro(pymod, CMD_ATTR_YANG)
|| PyModule_AddIntMacro(pymod, CMD_ATTR_HIDDEN)
- || PyModule_AddIntMacro(pymod, CMD_ATTR_DEPRECATED))
+ || PyModule_AddIntMacro(pymod, CMD_ATTR_DEPRECATED)
+ || PyModule_AddIntMacro(pymod, CMD_ATTR_NOSH))
initret(NULL);
Py_INCREF(&typeobj_graph_node);