[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/MailHost/MailHost.py fixed feedback msg for manage_restartQueueThread()

Andreas Jung andreas at andreas-jung.com
Sun Aug 19 07:58:09 EDT 2007


Log message for revision 78992:
  fixed feedback msg for manage_restartQueueThread()
  

Changed:
  U   Zope/trunk/lib/python/Products/MailHost/MailHost.py

-=-
Modified: Zope/trunk/lib/python/Products/MailHost/MailHost.py
===================================================================
--- Zope/trunk/lib/python/Products/MailHost/MailHost.py	2007-08-19 11:45:01 UTC (rev 78991)
+++ Zope/trunk/lib/python/Products/MailHost/MailHost.py	2007-08-19 11:58:08 UTC (rev 78992)
@@ -242,7 +242,8 @@
             raise ValueError('Unsupported action %s' % action)
 
         if REQUEST is not None:
-            msg = 'Queue processor thread %sed' % action
+            msg = 'Queue processor thread %s' % \
+                  (action == 'stop' and 'stopped' or 'started')
             return self.manage_main(self, REQUEST, manage_tabs_message=msg)
 
 



More information about the Zope-Checkins mailing list