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 6aa160ec2d67d222e91d72826136f4681eac4277
Author: Seth Vidal <[email protected]>
Date:   Wed Apr 15 11:39:24 2009 -0400

    quiet down output

diff --git a/createrepo/__init__.py b/createrepo/__init__.py
index 9b78e98..cd6fd2c 100644
--- a/createrepo/__init__.py
+++ b/createrepo/__init__.py
@@ -616,7 +616,8 @@ class MetaDataGenerator:
             for delta_p in candidates[0:self.conf.num_deltas]:
                 #make drpm of pkg and delta_p
                 drpmfn = deltarpms.create_drpm(delta_p, pkg, self.conf.deltadir)
-                self.callback.log('created drpm from %s to %s: %s' % (
+                if not self.conf.quiet:
+                    self.callback.log('created drpm from %s to %s: %s' % (
                         delta_p, pkg, drpmfn))
 
     def _get_old_package_dict(self):
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.