bodhi/masher.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit b7f466eb4a831165301cc74f2ab2035ebe174a3e
Author: Luke Macken <lmacken(a)redhat.com>
Date: Fri Oct 28 12:52:03 2011 -0400
Don't spam updates with comments when resuming pushes
diff --git a/bodhi/masher.py b/bodhi/masher.py
index 01987ef..2b780f3 100644
--- a/bodhi/masher.py
+++ b/bodhi/masher.py
@@ -179,7 +179,8 @@ class MashTask(Thread):
log.warning('Skipping update without request: %s' %update.title)
continue
self.updates.add(update)
- update.comment('This update is currently being pushed to the %s %s
updates repository.' % (update.release.long_name, update.request),
author='bodhi', email=False)
+ if not resume:
+ update.comment('This update is currently being pushed to the %s %s
updates repository.' % (update.release.long_name, update.request),
author='bodhi', email=False)
if self.updates:
up = self.updates.pop()
Show replies by date