From d5f5156bd09338eceba7eeb6c5122ecc58afb0a1 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Thu, 24 Sep 2009 13:19:20 +0300 Subject: [PATCH] Enable subtyping on rpm.ts class --- python/rpmts-py.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/rpmts-py.c b/python/rpmts-py.c index 348e2e8..cd5471c 100644 --- a/python/rpmts-py.c +++ b/python/rpmts-py.c @@ -1072,7 +1072,7 @@ PyTypeObject rpmts_Type = { (getattrofunc) rpmts_getattro, /* tp_getattro */ (setattrofunc) rpmts_setattro, /* tp_setattro */ 0, /* tp_as_buffer */ - Py_TPFLAGS_DEFAULT, /* tp_flags */ + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ rpmts_doc, /* tp_doc */ 0, /* tp_traverse */ 0, /* tp_clear */ -- 2.7.4