core/python2-twisted/4771.diff
Adrián Chaves Fernández (Gallaecio) 95246b57f5 Removed python-numeric, which was replaced by python-numpy.
Removed larch, larch-live and liblarch, replaced by Chakra’s a-setup.sh script.
python2-cairo 1.10.0
python2-gobject 2.28.6
python2-crypto 2.6
python2-zope-interface 4.0.1
python2-twisted 12.2.0
python2-nose 1.2.1
python2-urwid 1.1.0
Rebuilt because of time reasons: python2-imaging, qt-assistant-compat.
2012-11-10 23:53:31 +01:00

23 lines
822 B
Diff

Index: twisted/words/protocols/jabber/jstrports.py
===================================================================
--- twisted/words/protocols/jabber/jstrports.py (revision 30346)
+++ twisted/words/protocols/jabber/jstrports.py (working copy)
@@ -6,7 +6,7 @@
""" A temporary placeholder for client-capable strports, until we
sufficient use cases get identified """
-from twisted.application import strports
+from twisted.internet.endpoints import _parse
def _parseTCPSSL(factory, domain, port):
""" For the moment, parse TCP or SSL connections the same """
@@ -22,7 +22,7 @@
def parse(description, factory):
- args, kw = strports._parse(description)
+ args, kw = _parse(description)
return (args[0].upper(),) + _funcs[args[0]](factory, *args[1:], **kw)
def client(description, factory):