Got a tracback just now:
[Failure instance: Traceback: exception
s.TypeError: discoFail() takes exactly 1 argument (2 given)
/usr/lib/python2.4/site-packages/twisted/internet/base.py:
555:runUntilCurrent
/home/melo/msn-test/PyMSNt/src/disco.py:74:checkDeferred
/usr/lib/python2.4/site-packages/twisted/internet/defer.py:
251:errback
/usr/lib/python2.4/site-packages/twisted/internet/defer.py:
294:_startRunCallbacks
--- <exception caught here> ---
/usr/lib/python2.4/site-packages/twisted/internet/defer.py:
307:_runCallbacks
] :: discoFail :: FTReceive :: {'self': 'instance', 'err':
<twisted.python.failure.Failure exceptions.TypeError>}
It seems that twisted calls the discoFail callback with a err
parameter that discoFail does not allow.
I've made the following patch. Mind you that I don't know that much
about python...
Index: disco.py
===================================================================
--- disco.py (revision 809)
+++ disco.py (working copy)
@@ -278,7 +278,7 @@
return features
- def discoFail(self):
+ def discoFail(self, err):
return []
Best regards,
--
HIId: Pedro Melo
SMTP: [EMAIL PROTECTED]
XMPP: [EMAIL PROTECTED]
_______________________________________________
py-transports mailing list
py-transports@blathersource.org
http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports