mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
Commented out some useless debug logs.
This commit is contained in:
parent
4f84303759
commit
f752ad5747
@ -50,7 +50,7 @@ import schedule
|
||||
|
||||
class AsyncoreRunnerDriver(drivers.IrcDriver):
|
||||
def run(self):
|
||||
log.debug(repr(asyncore.socket_map))
|
||||
#log.debug(repr(asyncore.socket_map))
|
||||
try:
|
||||
asyncore.poll(conf.supybot.drivers.poll())
|
||||
except:
|
||||
@ -99,7 +99,7 @@ class AsyncoreDriver(asynchat.async_chat, object):
|
||||
def found_terminator(self):
|
||||
start = time.time()
|
||||
msg = ircmsgs.IrcMsg(self.buffer)
|
||||
log.debug('Time to parse IrcMsg: %s', time.time()-start)
|
||||
#log.debug('Time to parse IrcMsg: %s', time.time()-start)
|
||||
self.buffer = ''
|
||||
try:
|
||||
self.irc.feedMsg(msg)
|
||||
|
@ -106,7 +106,7 @@ class SocketDriver(drivers.IrcDriver):
|
||||
for line in lines:
|
||||
start = time.time()
|
||||
msg = ircmsgs.IrcMsg(line)
|
||||
log.debug('Time to parse IrcMsg: %s', time.time()-start)
|
||||
#log.debug('Time to parse IrcMsg: %s', time.time()-start)
|
||||
try:
|
||||
self.irc.feedMsg(msg)
|
||||
except:
|
||||
|
@ -61,11 +61,8 @@ class SupyIrcProtocol(LineReceiver):
|
||||
def lineReceived(self, line):
|
||||
start = time.time()
|
||||
msg = ircmsgs.IrcMsg(line)
|
||||
log.debug('Time to parse IrcMsg: %s', time.time()-start)
|
||||
try:
|
||||
self.irc.feedMsg(msg)
|
||||
except:
|
||||
log.exception('Uncaught exception outside Irc object:')
|
||||
#log.debug('Time to parse IrcMsg: %s', time.time()-start)
|
||||
self.irc.feedMsg(msg)
|
||||
|
||||
def checkIrcForMsgs(self):
|
||||
if self.connected:
|
||||
|
Loading…
Reference in New Issue
Block a user