From 771de32af91cced9a057e7569299775cac7a5be9 Mon Sep 17 00:00:00 2001 From: Tomas Mlcoch Date: Wed, 12 Jun 2013 16:03:31 +0200 Subject: [PATCH] deltarepo: ... --- deltarepo/deltarepo/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deltarepo/deltarepo/__init__.py b/deltarepo/deltarepo/__init__.py index 5b3d763..3533420 100644 --- a/deltarepo/deltarepo/__init__.py +++ b/deltarepo/deltarepo/__init__.py @@ -72,7 +72,7 @@ class DeltaModule(LoggingInterface): self._warning("Missing pkgId in a package!") if not pkg.location_href: self._warning("Missing location_href at package %s %s" % \ - pkg.name, pkg.pkgId) + (pkg.name, pkg.pkgId)) return "%s%s%s" % (pkg.pkgId or '', pkg.location_href or '', pkg.location_base or '') @@ -423,7 +423,7 @@ class DeltaRepoGenerator(LoggingInterface): self.checksum_type = cr.checksum_type(delta_records["primary"].checksum_type) if self.checksum_type == cr.UNKNOWN_CHECKSUM: raise DeltaRepoError("Unknown checksum type detected: %s" % \ - new_records["primary"].checksum_type) + delta_records["primary"].checksum_type) # Detection if use unique md filenames if delta_records["primary"].location_href.split("primary")[0] != "": -- 2.7.4