summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2003-05-05 02:16:59 +0000
committerjbj <devnull@localhost>2003-05-05 02:16:59 +0000
commit4e1b7e82c001543adfa4ecbacccae61c93711f9a (patch)
tree156d6063b89165d20e083003e0041a21cde863ff /python
parent3db8afedc08c3f7425438ff029b5413456e6969d (diff)
downloadrpm-4e1b7e82c001543adfa4ecbacccae61c93711f9a.tar.gz
rpm-4e1b7e82c001543adfa4ecbacccae61c93711f9a.tar.bz2
rpm-4e1b7e82c001543adfa4ecbacccae61c93711f9a.zip
Back out Py_TPFLAGS_BASETYPE for now.
CVS patchset: 6812 CVS date: 2003/05/05 02:16:59
Diffstat (limited to 'python')
-rw-r--r--python/rpmfts-py.c3
-rw-r--r--python/rpmmpw-py.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/python/rpmfts-py.c b/python/rpmfts-py.c
index 4388aa2f5..1d3f845ad 100644
--- a/python/rpmfts-py.c
+++ b/python/rpmfts-py.c
@@ -530,8 +530,7 @@ PyTypeObject rpmfts_Type = {
(getattrofunc) rpmfts_getattro, /* tp_getattro */
(setattrofunc) rpmfts_setattro, /* tp_setattro */
0, /* tp_as_buffer */
- Py_TPFLAGS_DEFAULT | /* tp_flags */
- Py_TPFLAGS_HAVE_GC | Py_TPFLAGS_BASETYPE,
+ Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, /* tp_flags */
rpmfts_doc, /* tp_doc */
(traverseproc) rpmfts_traverse, /* tp_traverse */
0, /* tp_clear */
diff --git a/python/rpmmpw-py.c b/python/rpmmpw-py.c
index dbf43b711..45a022389 100644
--- a/python/rpmmpw-py.c
+++ b/python/rpmmpw-py.c
@@ -2149,7 +2149,7 @@ PyTypeObject mpw_Type = {
(getattrofunc) mpw_getattro, /* tp_getattro */
(setattrofunc) mpw_setattro, /* tp_setattro */
0, /* tp_as_buffer */
- Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /* tp_flags */
+ Py_TPFLAGS_DEFAULT, /* tp_flags */
mpw_doc, /* tp_doc */
#if Py_TPFLAGS_HAVE_ITER
(traverseproc)0, /* tp_traverse */