summaryrefslogtreecommitdiffstats
path: root/libmount/python/context.c
diff options
context:
space:
mode:
authorKarel Zak2013-08-22 12:10:13 +0200
committerKarel Zak2013-08-22 12:10:13 +0200
commitb7e47ac1ac3f2d17536e8864db9c8bdada340b87 (patch)
tree0c881eeba9c54a1d1b5eccd0dc3376dd9fe0bd61 /libmount/python/context.c
parentlibmount: cleanup libmnt_fs list after mnt_table_remove_fs() (diff)
downloadkernel-qcow2-util-linux-b7e47ac1ac3f2d17536e8864db9c8bdada340b87.tar.gz
kernel-qcow2-util-linux-b7e47ac1ac3f2d17536e8864db9c8bdada340b87.tar.xz
kernel-qcow2-util-linux-b7e47ac1ac3f2d17536e8864db9c8bdada340b87.zip
pylibmount: add debug messages
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/python/context.c')
-rw-r--r--libmount/python/context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmount/python/context.c b/libmount/python/context.c
index 6cebc9f4c..9813efd37 100644
--- a/libmount/python/context.c
+++ b/libmount/python/context.c
@@ -1224,6 +1224,8 @@ void Context_AddModuleObject(PyObject *mod)
if (PyType_Ready(&ContextType) < 0)
return;
+ DBG(CXT, pymnt_debug("add to module"));
+
Py_INCREF(&ContextType);
PyModule_AddObject(mod, "Context", (PyObject *)&ContextType);
}