comparison bot.py @ 141:46c02cc89f18

minor fix Signed-off-by: Charly COSTE <changaco@changaco.net>
author Charly COSTE <changaco@changaco.net>
date Sun, 17 Jan 2010 11:39:11 +0100
parents 9f39cead20cb
children fcab2bdf1d65
comparison
equal deleted inserted replaced
140:e077dc9f14e5 141:46c02cc89f18
429 429
430 self.error('==> Debug: recevied unknown error message', debug=True) 430 self.error('==> Debug: recevied unknown error message', debug=True)
431 self.error(message.__str__(fancy=1), debug=True) 431 self.error(message.__str__(fancy=1), debug=True)
432 432
433 else: 433 else:
434 self.error('==> Debug: Received XMPP message of unknown type "'+message.getType()+'".', debug=True) 434 self.error('==> Debug: Received XMPP message of unknown type "'+str(message.getType())+'".', debug=True)
435 self.error(message.__str__(fancy=1), debug=True) 435 self.error(message.__str__(fancy=1), debug=True)
436 436
437 437
438 def _irc_event_handler(self, connection, event): 438 def _irc_event_handler(self, connection, event):
439 """[Internal] Manage IRC events""" 439 """[Internal] Manage IRC events"""