createrepo/__init__.py
[email protected] Mon, 12 Nov 2012 09:30:15 +0000 (UTC)
| Newsgroups | gmane.linux.rpm.metadata |
|---|---|
| Message-ID | <[email protected]> |
--===============3807897717287371175== Content-Type: text/plain createrepo/__init__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) New commits: commit 5663e972e7e10b34e3fc95311bdffb019c1cfdc9 Author: Zdeněk Pavlas <[email protected]> Date: Fri Nov 9 13:04:23 2012 +0100 No baseurl means no baseurl. BZ 875029 diff --git a/createrepo/__init__.py b/createrepo/__init__.py index f0f4d93..167d384 100644 --- a/createrepo/__init__.py +++ b/createrepo/__init__.py @@ -560,9 +560,7 @@ class MetaDataGenerator: self.callback.log(_("Using data from old metadata for %s") % pkg) - if self.conf.baseurl: # if we have a baseurl set, reset the one - # in the old pkg - old_po.basepath = self.conf.baseurl + old_po.basepath = self.conf.baseurl # reset baseurl in the old pkg self.primaryfile.write(old_po.xml_dump_primary_metadata()) self.flfile.write(old_po.xml_dump_filelists_metadata()) self.otherfile.write(old_po.xml_dump_other_metadata()) --===============3807897717287371175== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Rpm-metadata mailing list [email protected] http://lists.baseurl.org/mailman/listinfo/rpm-metadata --===============3807897717287371175==--