From edc6ea83f2f756b5f8b106d08341b7e0fa45bb18 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Mon, 12 Apr 2004 20:33:11 +0000 Subject: [PATCH] Fixed the socketDrivers problem (THANKS G-LITE{EXCLAIMEXCLAIMEXCLAIM}) --- src/socketDrivers.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/socketDrivers.py b/src/socketDrivers.py index ad23f36fc..59ecadf0f 100644 --- a/src/socketDrivers.py +++ b/src/socketDrivers.py @@ -151,8 +151,9 @@ class SocketDriver(drivers.IrcDriver): if e.args[0] == 115: now = time.time() when = now + 60 + whenS = log.timestamp(when) log.info('Connection in progress, scheduling connectedness ' - 'check for %s', when) + 'check for %s', whenS) schedule.addEvent(self._checkAndWriteOrReconnect, when) else: log.warning('Error connecting to %s: %s', self.server[0], e) @@ -173,9 +174,9 @@ class SocketDriver(drivers.IrcDriver): def _scheduleReconnect(self): when = time.time() + self.reconnectWaits[self.reconnectWaitsIndex] - when = log.timestamp(when) + whenS = log.timestamp(when) if not world.dying: - log.info('Scheduling reconnect to %s at %s', self.server, when) + log.info('Scheduling reconnect to %s at %s', self.server, whenS) schedule.addEvent(self.reconnect, when) def die(self):