[Zope3-checkins] SVN: Zope3/trunk/src/z3checkins/message.py Fixed the code which caused unit tests to fail.

Gintautas Miliauskas gintas at pov.lt
Sun Jul 11 04:05:59 EDT 2004


Log message for revision 26413:
Fixed the code which caused unit tests to fail.



-=-
Modified: Zope3/trunk/src/z3checkins/message.py
===================================================================
--- Zope3/trunk/src/z3checkins/message.py	2004-07-11 01:52:00 UTC (rev 26412)
+++ Zope3/trunk/src/z3checkins/message.py	2004-07-11 08:05:58 UTC (rev 26413)
@@ -352,7 +352,7 @@
     def createAndAdd(self, data):
         if data.has_key('data'): # XXX should we bark if no data is given?
             msg_raw = data['data']
-            parser = getUtility(IMessageParser, context=self.context)
+            parser = getUtility(IMessageParser)
             if msg_raw.startswith("From "):
                 # detected an mbox file
                 mbox = StringIO(msg_raw)



More information about the Zope3-Checkins mailing list