From a2e69e76226fd29b6aeacc982b7acd62843e48ae Mon Sep 17 00:00:00 2001 From: jbj Date: Wed, 4 Dec 2002 02:01:47 +0000 Subject: python: gilding lilies. CVS patchset: 5915 CVS date: 2002/12/04 02:01:47 --- python/rpmmi-py.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/rpmmi-py.c') diff --git a/python/rpmmi-py.c b/python/rpmmi-py.c index 24f5d0d2a..3af37a7bf 100644 --- a/python/rpmmi-py.c +++ b/python/rpmmi-py.c @@ -230,7 +230,7 @@ static char rpmmi_doc[] = */ /*@-fullinitblock@*/ PyTypeObject rpmmi_Type = { - PyObject_HEAD_INIT(NULL) + PyObject_HEAD_INIT(&PyType_Type) 0, /* ob_size */ "rpm.mi", /* tp_name */ sizeof(rpmmiObject), /* tp_size */ -- cgit v1.2.3