Fix refactoring error

This commit is contained in:
Stefan Hacker
2010-12-27 17:31:19 +01:00
parent 4753c96777
commit 54eaba49d8
2 changed files with 3 additions and 3 deletions

View File

@@ -286,7 +286,7 @@ def do_main_program():
else: else:
debug('Virtual server %d got started', sid) debug('Virtual server %d got started', sid)
self.app.manager.announceMeta([sid], "started", server, current) self.app.manager.announceMeta(sid, "started", server, current)
@fortifyIceFu() @fortifyIceFu()
@checkSecret @checkSecret
@@ -303,7 +303,7 @@ def do_main_program():
info('Watched virtual server %d got stopped', sid) info('Watched virtual server %d got stopped', sid)
else: else:
debug('Virtual server %d got stopped', sid) debug('Virtual server %d got stopped', sid)
self.app.manager.announceMeta([sid], "stopped", server, current) self.app.manager.announceMeta(sid, "stopped", server, current)
return return
except Ice.ConnectionRefusedException: except Ice.ConnectionRefusedException:
self.app.connected = False self.app.connected = False

View File

@@ -284,7 +284,7 @@ class MumoManager(Worker):
""" """
Call a function on the meta handlers Call a function on the meta handlers
@param server Servers to announce to @param server Server to announce to
@param function Name of the function to call on the handler @param function Name of the function to call on the handler
@param args List of arguments @param args List of arguments
@param kwargs List of keyword arguments @param kwargs List of keyword arguments