Mercurial > xib
comparison commands.py @ 194:5af6c828c606
minor fix to commands.py that I forgot to stage with the previous commit
Signed-off-by: Charly COSTE <changaco@changaco.net>
author | Charly COSTE <changaco@changaco.net> |
---|---|
date | Sun, 21 Feb 2010 15:40:57 +0100 |
parents | 102f895347ff |
children | 2a81c480439a |
comparison
equal
deleted
inserted
replaced
193:c2a8586e64b5 | 194:5af6c828c606 |
---|---|
269 return ret+'Bridges restarted.' | 269 return ret+'Bridges restarted.' |
270 | 270 |
271 | 271 |
272 def stop_bot(bot, command, args_array, bridge): | 272 def stop_bot(bot, command, args_array, bridge): |
273 bot.stop() | 273 bot.stop() |
274 return 'Bot stopped.' | 274 return |
275 | 275 |
276 | 276 |
277 def stop_bridges(bot, command, args_array, bridge): | 277 def stop_bridges(bot, command, args_array, bridge): |
278 parser = ArgumentParser(prog=command) | 278 parser = ArgumentParser(prog=command) |
279 parser.add_argument('bridge_id', nargs='+') | 279 parser.add_argument('bridge_id', nargs='+') |