Author: justi9
Date: 2009-08-13 15:09:45 -0400 (Thu, 13 Aug 2009)
New Revision: 3576
Modified:
mgmt/trunk/cumin/python/cumin/messaging/model.py
Log:
Default the count to 0 (meaning purge all) so that the aggregate purge operation works
Modified: mgmt/trunk/cumin/python/cumin/messaging/model.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/messaging/model.py 2009-08-13 16:17:31 UTC (rev 3575)
+++ mgmt/trunk/cumin/python/cumin/messaging/model.py 2009-08-13 19:09:45 UTC (rev 3576)
@@ -144,7 +144,7 @@
def do_enter(self, session, queue):
self.form.queue.set(session, queue)
- def do_invoke(self, completion, session, queue, count):
+ def do_invoke(self, completion, session, queue, count=0):
"""A count of 0 purges all"""
assert isinstance(queue, Queue)
Show replies by date