From 2507ab6797926e9482ad5311697699f0a55f50e2 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Thu, 24 Sep 2009 13:57:55 +0300 Subject: Enable subtyping on the rest of our type-objects - not very useful atm as various places return hard-wired built-in types --- python/rpmte-py.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/rpmte-py.c') diff --git a/python/rpmte-py.c b/python/rpmte-py.c index 55a26c9e4..a0412ba45 100644 --- a/python/rpmte-py.c +++ b/python/rpmte-py.c @@ -291,7 +291,7 @@ PyTypeObject rpmte_Type = { PyObject_GenericGetAttr, /* tp_getattro */ PyObject_GenericSetAttr, /* tp_setattro */ 0, /* tp_as_buffer */ - Py_TPFLAGS_DEFAULT, /* tp_flags */ + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ rpmte_doc, /* tp_doc */ 0, /* tp_traverse */ 0, /* tp_clear */ -- cgit v1.2.3