summaryrefslogtreecommitdiff
path: root/python/rpmdb-py.c
diff options
context:
space:
mode:
Diffstat (limited to 'python/rpmdb-py.c')
-rw-r--r--python/rpmdb-py.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/python/rpmdb-py.c b/python/rpmdb-py.c
index 44be4d594..c6778526e 100644
--- a/python/rpmdb-py.c
+++ b/python/rpmdb-py.c
@@ -236,7 +236,6 @@ PyTypeObject rpmdb_Type = {
0, /* tp_as_buffer */
Py_TPFLAGS_DEFAULT, /* tp_flags */
rpmdb_doc, /* tp_doc */
-#if Py_TPFLAGS_HAVE_ITER
0, /* tp_traverse */
0, /* tp_clear */
0, /* tp_richcompare */
@@ -256,6 +255,5 @@ PyTypeObject rpmdb_Type = {
0, /* tp_new */
0, /* tp_free */
0, /* tp_is_gc */
-#endif
};