summaryrefslogtreecommitdiff
path: root/extra/twisted/4771.diff
blob: 4e36f263248b62351ed633bc7314da60718f8ee2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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):