python-tornado: update to the 2.2 release

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Koen Kooi
2012-03-04 10:13:25 +01:00
parent fdff8697ea
commit bbbdd3acbc
2 changed files with 4 additions and 5 deletions

View File

@@ -24,7 +24,7 @@ index cfff0ba..c181f24 100644
- # exist on some platforms (specifically WinXP, although
- # newer versions of windows have it)
- flags |= socket.AI_ADDRCONFIG
for res in socket.getaddrinfo(address, port, family, socket.SOCK_STREAM,
for res in set(socket.getaddrinfo(address, port, family, socket.SOCK_STREAM,
0, flags):
af, socktype, proto, canonname, sockaddr = res
--