summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-05-24 18:25:27 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-05-24 18:25:27 +0200
commit1b5acdb93b2febab2d26862a1cd2c7614d558478 (patch)
treea0eaaa915402969a4d3422ab1420c809af12596a
parent6f6234c79f062edf05f82aec5bdca6bc35aa1cf4 (diff)
downloadsamba-1b5acdb93b2febab2d26862a1cd2c7614d558478.tar.gz
samba-1b5acdb93b2febab2d26862a1cd2c7614d558478.tar.bz2
samba-1b5acdb93b2febab2d26862a1cd2c7614d558478.zip
Initialize module.
(This used to be commit 3246258afb4f3b4a977a191f2f83c73e8ce9c65a)
-rw-r--r--source4/lib/messaging/pyirpc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/messaging/pyirpc.c b/source4/lib/messaging/pyirpc.c
index 49ca51fb33..8f6a8b6c72 100644
--- a/source4/lib/messaging/pyirpc.c
+++ b/source4/lib/messaging/pyirpc.c
@@ -197,5 +197,6 @@ done:
static void initirpc(void)
{
-
+ PyObject *mod;
+ mod = Py_InitModule("irpc", irpc_methods);
}