Add missing hostname initialisation in PySocket for issue1148

This commit is contained in:
Cédric Krier committed 2009-09-14 18:07:30 +02:00
1 parent bc0af97321
commit 255b832e54
1 file changed
+1
+1
View File
@@ -35,6 +35,7 @@ class PySocket:
def __init__(self, sock=None):
self.sock = sock
self.host = None
self.hostname = None
self.port = None
self.ssl = False
self.ssl_sock = None