comparison bridge.py @ 215:b900585bdbbb

minor fix in bridge.py, the "reconnecting" attribute is declared in "init2", no need to do so in "__init__" too Signed-off-by: Charly COSTE <changaco@changaco.net>
author Charly COSTE <changaco@changaco.net>
date Sat, 06 Mar 2010 19:58:28 +0100
parents fbe40b397f67
children d527d7b75f56
comparison
equal deleted inserted replaced
214:0c99d38b84b8 215:b900585bdbbb
45 self.irc_charsets = irc_charsets 45 self.irc_charsets = irc_charsets
46 self.irc_op = False 46 self.irc_op = False
47 self.xmpp_room_jid = xmpp_room_jid 47 self.xmpp_room_jid = xmpp_room_jid
48 self.say_level = say_level 48 self.say_level = say_level
49 self.participants = [] 49 self.participants = []
50 self.reconnecting = False
51 if mode not in self.__class__.modes: 50 if mode not in self.__class__.modes:
52 raise Exception('[Error] "'+mode+'" is not a correct value for a bridge\'s "mode" attribute') 51 raise Exception('[Error] "'+mode+'" is not a correct value for a bridge\'s "mode" attribute')
53 self.mode = mode 52 self.mode = mode
54 53
55 self.lock = threading.RLock() 54 self.lock = threading.RLock()