From 0ba3b076a565ad5f516ecb5c1bc7088eba7d8955 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Tue, 15 Feb 2005 07:18:01 +0000 Subject: [PATCH] Forgot to remove log.stat calls from drivers stuff. --- src/drivers/__init__.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/drivers/__init__.py b/src/drivers/__init__.py index fda9b61c9..21d95e85c 100644 --- a/src/drivers/__init__.py +++ b/src/drivers/__init__.py @@ -31,15 +31,13 @@ Contains various drivers (network, file, and otherwise) for using IRC objects. """ - - import sys import time import socket -import supybot.log as supylog import supybot.conf as conf import supybot.utils as utils +import supybot.log as supylog import supybot.ircmsgs as ircmsgs _drivers = {} @@ -175,7 +173,6 @@ class Log(object): critical = staticmethod(supylog.critical) timestamp = staticmethod(supylog.timestamp) exception = staticmethod(supylog.exception) - stat = staticmethod(supylog.stat) log = Log() @@ -209,7 +206,6 @@ def parseMsg(s): s = s.strip() if s: msg = ircmsgs.IrcMsg(s) - log.stat('Time to parse IrcMsg: %s', time.time()-start) msg.tag('receivedAt', start) return msg else: