[Telepathy-commits] [telepathy-salut/master] :IncomingXmppStream: no need to explicitely set name/remote_name

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Fri Nov 28 04:35:39 PST 2008


---
 tests/twisted/xmppstream.py |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/tests/twisted/xmppstream.py b/tests/twisted/xmppstream.py
index 3a94ac2..a32b089 100644
--- a/tests/twisted/xmppstream.py
+++ b/tests/twisted/xmppstream.py
@@ -95,9 +95,7 @@ class BaseXmlStream(xmlstream.XmlStream):
 
 class IncomingXmppStream(BaseXmlStream):
     def __init__(self, event_func, name):
-        BaseXmlStream.__init__(self, event_func)
-        self.name = name
-        self.remote_name = None
+        BaseXmlStream.__init__(self, event_func, name, None)
 
     def onDocumentStart(self, rootElement):
         # Use the fact that it's always salut that connects, so it sends a
-- 
1.5.6.5




More information about the Telepathy-commits mailing list