diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-09-24 13:57:55 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-09-24 13:57:55 +0300 |
commit | 2507ab6797926e9482ad5311697699f0a55f50e2 (patch) | |
tree | 1c4b14c4cf2c3f6ed570c508aa576f87cedd7457 /python/rpmte-py.c | |
parent | df40d9b27b1dc8bd82f8f1c8a17d357df3fae330 (diff) | |
download | librpm-tizen-2507ab6797926e9482ad5311697699f0a55f50e2.tar.gz librpm-tizen-2507ab6797926e9482ad5311697699f0a55f50e2.tar.bz2 librpm-tizen-2507ab6797926e9482ad5311697699f0a55f50e2.zip |
Enable subtyping on the rest of our type-objects
- not very useful atm as various places return hard-wired built-in types
Diffstat (limited to 'python/rpmte-py.c')
-rw-r--r-- | python/rpmte-py.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |