summaryrefslogtreecommitdiff
path: root/python/rpmfi-py.c
diff options
context:
space:
mode:
Diffstat (limited to 'python/rpmfi-py.c')
-rw-r--r--python/rpmfi-py.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/python/rpmfi-py.c b/python/rpmfi-py.c
index f1ab3a8de..673d40569 100644
--- a/python/rpmfi-py.c
+++ b/python/rpmfi-py.c
@@ -316,10 +316,6 @@ static PyObject * rpmfi_new(PyTypeObject * subtype, PyObject *args, PyObject *kw
&hdr_Type, &ho, &to, &flags))
return NULL;
- if (to != NULL) {
- tagN = tagNumFromPyObject(to);
- if (tagN == RPMTAG_NOT_FOUND) return NULL;
- }
fi = rpmfiNew(NULL, hdrGetHeader(ho), tagN, flags);
return rpmfi_Wrap(fi);