createrepo/__init__.py

[email protected]
Newsgroups gmane.linux.rpm.metadata
Message-ID <[email protected]>
 createrepo/__init__.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 82e3624de18c3debefb760e90ea8a114b9ce3e6c
Author: Seth Vidal <[email protected]>
Date:   Wed Apr 22 14:16:22 2009 -0400

    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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.