aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcus2011-05-10 18:57:45 +0000
committermarcus2011-05-10 18:57:45 +0000
commit4ad5be97f3cd37f56b19dbc5b730c6b8f17a246d (patch)
treefbf9e32588e870d31c6196a3854cf0fc0fb86deb
parent9cb911d58442d9b16dfa6fc8c3b0810f91ab7156 (diff)
Removed __del__ method from ipsock as suggested by zonedabone.
-rw-r--r--nxt/ipsock.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/nxt/ipsock.py b/nxt/ipsock.py
index dc193fe..66c1a51 100644
--- a/nxt/ipsock.py
+++ b/nxt/ipsock.py
@@ -24,10 +24,6 @@ class IpSock(object):
def __str__(self):
return 'Server (%s)' % self.host
- def __del__(self):
- if self.sock:
- self.close()
-
def connect(self):
if self.debug:
print 'Connecting via Server...'