mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 04:02:46 +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):
|
class AsyncoreRunnerDriver(drivers.IrcDriver):
|
||||||
def run(self):
|
def run(self):
|
||||||
log.debug(repr(asyncore.socket_map))
|
#log.debug(repr(asyncore.socket_map))
|
||||||
try:
|
try:
|
||||||
asyncore.poll(conf.supybot.drivers.poll())
|
asyncore.poll(conf.supybot.drivers.poll())
|
||||||
except:
|
except:
|
||||||
@ -99,7 +99,7 @@ class AsyncoreDriver(asynchat.async_chat, object):
|
|||||||
def found_terminator(self):
|
def found_terminator(self):
|
||||||
start = time.time()
|
start = time.time()
|
||||||
msg = ircmsgs.IrcMsg(self.buffer)
|
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 = ''
|
self.buffer = ''
|
||||||
try:
|
try:
|
||||||
self.irc.feedMsg(msg)
|
self.irc.feedMsg(msg)
|
||||||
|
@ -106,7 +106,7 @@ class SocketDriver(drivers.IrcDriver):
|
|||||||
for line in lines:
|
for line in lines:
|
||||||
start = time.time()
|
start = time.time()
|
||||||
msg = ircmsgs.IrcMsg(line)
|
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:
|
try:
|
||||||
self.irc.feedMsg(msg)
|
self.irc.feedMsg(msg)
|
||||||
except:
|
except:
|
||||||
|
@ -61,11 +61,8 @@ class SupyIrcProtocol(LineReceiver):
|
|||||||
def lineReceived(self, line):
|
def lineReceived(self, line):
|
||||||
start = time.time()
|
start = time.time()
|
||||||
msg = ircmsgs.IrcMsg(line)
|
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)
|
self.irc.feedMsg(msg)
|
||||||
except:
|
|
||||||
log.exception('Uncaught exception outside Irc object:')
|
|
||||||
|
|
||||||
def checkIrcForMsgs(self):
|
def checkIrcForMsgs(self):
|
||||||
if self.connected:
|
if self.connected:
|
||||||
|
Loading…
Reference in New Issue
Block a user