[Telepathy-commits] [telepathy-gabble/master] send_socks5_init: pass port as a number
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Fri Feb 20 07:32:14 PST 2009
---
tests/twisted/bytestream.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tests/twisted/bytestream.py b/tests/twisted/bytestream.py
index 450ad3c..6b35b10 100644
--- a/tests/twisted/bytestream.py
+++ b/tests/twisted/bytestream.py
@@ -172,7 +172,7 @@ def send_socks5_init(stream, from_, to, sid, mode, hosts):
streamhost = query.addElement('streamhost')
streamhost['jid'] = jid
streamhost['host'] = host
- streamhost['port'] = port
+ streamhost['port'] = str(port)
stream.send(iq)
def expect_socks5_init(q):
--
1.5.6.5
More information about the telepathy-commits
mailing list