Remove unused method in GeventConnection
This commit is contained in:
@@ -7,7 +7,6 @@ from collections import defaultdict
|
|||||||
from functools import partial
|
from functools import partial
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
import sys
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from cStringIO import StringIO
|
from cStringIO import StringIO
|
||||||
@@ -98,9 +97,6 @@ class GeventConnection(Connection):
|
|||||||
# don't leave in-progress operations hanging
|
# don't leave in-progress operations hanging
|
||||||
self.connected_event.set()
|
self.connected_event.set()
|
||||||
|
|
||||||
def handle_error(self):
|
|
||||||
self.defunct(sys.exc_info()[1])
|
|
||||||
|
|
||||||
def handle_close(self):
|
def handle_close(self):
|
||||||
log.debug("connection closed by server")
|
log.debug("connection closed by server")
|
||||||
self.close()
|
self.close()
|
||||||
|
|||||||
Reference in New Issue
Block a user