Commit 93bf5446 authored by Jim Fulton's avatar Jim Fulton

Got rid of some debugging code that didn't actually do anything.

Cleaned up trailing whitespace.
parent fbf736b2
...@@ -75,12 +75,8 @@ class SizedMessageAsyncConnection(asyncore.dispatcher): ...@@ -75,12 +75,8 @@ class SizedMessageAsyncConnection(asyncore.dispatcher):
socket = None # to outwit Sam's getattr socket = None # to outwit Sam's getattr
def __init__(self, sock, addr, map=None, debug=None): def __init__(self, sock, addr, map=None):
self.addr = addr self.addr = addr
if debug is not None:
self._debug = debug
elif not hasattr(self, '_debug'):
self._debug = __debug__
# __input_lock protects __inp, __input_len, __state, __msg_size # __input_lock protects __inp, __input_len, __state, __msg_size
self.__input_lock = threading.Lock() self.__input_lock = threading.Lock()
self.__inp = None # None, a single String, or a list self.__inp = None # None, a single String, or a list
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment