diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-09-22 16:28:58 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-09-22 16:28:58 +0300 |
commit | ae1e7d83898e3c14138260ac9a8b53737da83c84 (patch) | |
tree | 1af7ad88710526d7fbb19678705c6f683d2abefb /python/rpmfi-py.c | |
parent | dd5cfeec61eeddedc842aa11d7ba2376c0e9411e (diff) | |
download | librpm-tizen-ae1e7d83898e3c14138260ac9a8b53737da83c84.tar.gz librpm-tizen-ae1e7d83898e3c14138260ac9a8b53737da83c84.tar.bz2 librpm-tizen-ae1e7d83898e3c14138260ac9a8b53737da83c84.zip |
We dont support ancient python versions...
Diffstat (limited to 'python/rpmfi-py.c')
-rw-r--r-- | python/rpmfi-py.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/python/rpmfi-py.c b/python/rpmfi-py.c index 59c2e4c47..d3a18751e 100644 --- a/python/rpmfi-py.c +++ b/python/rpmfi-py.c @@ -157,14 +157,12 @@ rpmfi_FClass(rpmfiObject * s) return Py_BuildValue("s", xstrdup(FClass)); } -#if Py_TPFLAGS_HAVE_ITER static PyObject * rpmfi_iter(rpmfiObject * s) { Py_INCREF(s); return (PyObject *)s; } -#endif static PyObject * rpmfi_iternext(rpmfiObject * s) @@ -473,7 +471,6 @@ PyTypeObject rpmfi_Type = { 0, /* tp_as_buffer */ Py_TPFLAGS_DEFAULT, /* tp_flags */ rpmfi_doc, /* tp_doc */ -#if Py_TPFLAGS_HAVE_ITER 0, /* tp_traverse */ 0, /* tp_clear */ 0, /* tp_richcompare */ @@ -493,7 +490,6 @@ PyTypeObject rpmfi_Type = { (newfunc) rpmfi_new, /* tp_new */ (freefunc) rpmfi_free, /* tp_free */ 0, /* tp_is_gc */ -#endif }; /* ---------- */ |