From c849eda6ce8e21dde47623494dbbabeea70cdaf4 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Wed, 9 Apr 2003 15:13:51 +0000 Subject: [PATCH] Minor changes. --- src/asyncoreDrivers.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/asyncoreDrivers.py b/src/asyncoreDrivers.py index a8b41b821..6631ad66d 100644 --- a/src/asyncoreDrivers.py +++ b/src/asyncoreDrivers.py @@ -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()