fixup headers when loading them
authormsw <devnull@localhost>
Wed, 17 May 2000 05:35:18 +0000 (05:35 +0000)
committermsw <devnull@localhost>
Wed, 17 May 2000 05:35:18 +0000 (05:35 +0000)
CVS patchset: 3737
CVS date: 2000/05/17 05:35:18

python/rpmmodule.c

index 8db0d14..d7238f6 100644 (file)
@@ -650,6 +650,8 @@ static PyObject * hdrLoad(PyObject * self, PyObject * args) {
        PyErr_SetString(pyrpmError, "bad header");
        return NULL;
     }
+    compressFilelist (hdr);
+    providePackageNVR (hdr);
 
     h = (hdrObject *) PyObject_NEW(PyObject, &hdrType);
     h->h = hdr;