quiet down output
authorSeth Vidal <skvidal@fedoraproject.org>
Wed, 15 Apr 2009 15:39:24 +0000 (11:39 -0400)
committerSeth Vidal <skvidal@fedoraproject.org>
Wed, 15 Apr 2009 15:39:24 +0000 (11:39 -0400)
createrepo/__init__.py

index 9b78e98deba3bd532d8c06fdaa08131cfc9c8f67..cd6fd2cefffa948133af6f105c185dfee9fa9815 100644 (file)
@@ -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):