summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-09-24 13:19:20 +0300
committerPanu Matilainen <pmatilai@redhat.com>2009-09-24 13:19:20 +0300
commitd5f5156bd09338eceba7eeb6c5122ecc58afb0a1 (patch)
treed5a5d5527a46043b108ab6daebc382b54dbf73be
parent374358d219b5fc35b43f929cb285c3d3d473ac89 (diff)
downloadlibrpm-tizen-d5f5156bd09338eceba7eeb6c5122ecc58afb0a1.tar.gz
librpm-tizen-d5f5156bd09338eceba7eeb6c5122ecc58afb0a1.tar.bz2
librpm-tizen-d5f5156bd09338eceba7eeb6c5122ecc58afb0a1.zip
Enable subtyping on rpm.ts class
-rw-r--r--python/rpmts-py.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/rpmts-py.c b/python/rpmts-py.c
index 348e2e8c9..cd5471c9b 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 */