Changeset 8:af29fb9001cb for wokkel
- Timestamp:
- Jan 2, 2008, 1:01:10 PM (15 years ago)
- Branch:
- default
- Convert:
- svn:b33ecbfc-034c-dc11-8662-000475d9059e/trunk@25
- Location:
- wokkel
- Files:
-
- 3 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
wokkel/client.py
r2 r8 1 # -*- test-case-name: wokkel.test.test_client -*- 2 # 1 3 # Copyright (c) 2003-2007 Ralph Meijer 2 4 # See LICENSE for details. … … 13 15 from twisted.names.srvconnect import SRVConnector 14 16 from twisted.words.protocols.jabber import client, sasl, xmlstream 15 from twisted.words.xish.xmlstream import XmlStreamFactoryMixin 17 18 try: 19 from twisted.words.xish.xmlstream import XmlStreamFactoryMixin 20 except ImportError: 21 from wokkel.compat import XmlStreamFactoryMixin 22 16 23 17 24 from wokkel.subprotocols import StreamManager -
wokkel/subprotocols.py
r4 r8 15 15 from twisted.words.xish import xpath 16 16 from twisted.words.xish.domish import IElement 17 18 try: 19 from twisted.words.protocols.jabber.xmlstream import toResponse 20 except ImportError: 21 from wokkel.compat import toResponse 17 22 18 23 from wokkel.iwokkel import IXMPPHandler, IXMPPHandlerCollection … … 242 247 """ 243 248 def toResult(result, iq): 244 response = xmlstream.toResponse(iq, 'result')249 response = toResponse(iq, 'result') 245 250 246 251 if result:
Note: See TracChangeset
for help on using the changeset viewer.