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/rpmds-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/rpmds-py.c')
-rw-r--r-- | python/rpmds-py.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/rpmds-py.c b/python/rpmds-py.c index 8750dda0f..ab227c41d 100644 --- a/python/rpmds-py.c +++ b/python/rpmds-py.c @@ -459,7 +459,8 @@ PyTypeObject rpmds_Type = { PyObject_GenericSetAttr, /* tp_setattro */ 0, /* tp_as_buffer */ Py_TPFLAGS_DEFAULT | /* tp_flags */ - Py_TPFLAGS_HAVE_RICHCOMPARE, + Py_TPFLAGS_HAVE_RICHCOMPARE | + Py_TPFLAGS_BASETYPE, rpmds_doc, /* tp_doc */ 0, /* tp_traverse */ 0, /* tp_clear */ |