From: Seth Vidal Date: Wed, 22 Apr 2009 18:16:22 +0000 (-0400) Subject: if we've not enabled the deltas, don't try to do them. X-Git-Tag: upstream/0.9.9~59 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=82e3624de18c3debefb760e90ea8a114b9ce3e6c;p=tools%2Fcreaterepo.git if we've not enabled the deltas, don't try to do them. silly, but harmless in this case --- diff --git a/createrepo/__init__.py b/createrepo/__init__.py index 29a4b8d..5076143 100644 --- a/createrepo/__init__.py +++ b/createrepo/__init__.py @@ -499,7 +499,8 @@ class MetaDataGenerator: self.callback.errorlog("\nError %s: %s\n" % (pkg, e)) continue # we can use deltas: - self._do_delta_rpm_package(po) + if self.conf.deltas: + self._do_delta_rpm_package(po) else: po = pkg