Forgot to remove log.stat calls from drivers stuff.

This commit is contained in:
Jeremy Fincher 2005-02-15 07:18:01 +00:00
parent e97f111042
commit 0ba3b076a5

View File

@ -31,15 +31,13 @@
Contains various drivers (network, file, and otherwise) for using IRC objects. Contains various drivers (network, file, and otherwise) for using IRC objects.
""" """
import sys import sys
import time import time
import socket import socket
import supybot.log as supylog
import supybot.conf as conf import supybot.conf as conf
import supybot.utils as utils import supybot.utils as utils
import supybot.log as supylog
import supybot.ircmsgs as ircmsgs import supybot.ircmsgs as ircmsgs
_drivers = {} _drivers = {}
@ -175,7 +173,6 @@ class Log(object):
critical = staticmethod(supylog.critical) critical = staticmethod(supylog.critical)
timestamp = staticmethod(supylog.timestamp) timestamp = staticmethod(supylog.timestamp)
exception = staticmethod(supylog.exception) exception = staticmethod(supylog.exception)
stat = staticmethod(supylog.stat)
log = Log() log = Log()
@ -209,7 +206,6 @@ def parseMsg(s):
s = s.strip() s = s.strip()
if s: if s:
msg = ircmsgs.IrcMsg(s) msg = ircmsgs.IrcMsg(s)
log.stat('Time to parse IrcMsg: %s', time.time()-start)
msg.tag('receivedAt', start) msg.tag('receivedAt', start)
return msg return msg
else: else: