---
createrepo/__init__.py | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
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())
--
1.7.4.4
_______________________________________________
Yum-devel mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum-devel