comparison bot.py @ 156:3f299ad4d452

oops, fix for the halt command Signed-off-by: Charly COSTE <changaco@changaco.net>
author Charly COSTE <changaco@changaco.net>
date Tue, 19 Jan 2010 07:42:49 +0100
parents 63db565438bd
children 0fc24e232997
comparison
equal deleted inserted replaced
155:63db565438bd 156:3f299ad4d452
855 bridge.stop(message=message) 855 bridge.stop(message=message)
856 856
857 857
858 def __del__(self): 858 def __del__(self):
859 for bridge in self.bridges: 859 for bridge in self.bridges:
860 self.removeBridge(bridge, message=message) 860 self.removeBridge(bridge, message='Stopping bot')
861 self.halt = True 861 self.halt = True