mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
Minor changes.
This commit is contained in:
parent
8c9811ea05
commit
c849eda6ce
@ -87,14 +87,12 @@ class AsyncoreDriver(asynchat.async_chat, object):
|
||||
|
||||
def writable(self):
|
||||
#debug.methodNamePrintf(self, 'writable')
|
||||
while self.connected and self.irc:
|
||||
while self.connected:
|
||||
m = self.irc.takeMsg()
|
||||
if m:
|
||||
self.push(str(m))
|
||||
else:
|
||||
break
|
||||
#ret = asynchat.async_chat.writable(self)
|
||||
#debug.printf(str(ret))
|
||||
return asynchat.async_chat.writable(self)
|
||||
|
||||
def handle_error(self):
|
||||
@ -121,10 +119,6 @@ class AsyncoreDriver(asynchat.async_chat, object):
|
||||
'Uncaught Irc object exception: %s' % debug.exnToString(e)))
|
||||
self.buffer = ''
|
||||
|
||||
def handle_connect(self):
|
||||
#debug.methodNamePrintf(self, 'handle_connect')
|
||||
pass
|
||||
|
||||
def handle_close(self):
|
||||
#debug.methodNamePrintf(self, 'handle_close')
|
||||
self.scheduleReconnect()
|
||||
|
Loading…
Reference in New Issue
Block a user