Fix refactoring error
This commit is contained in:
4
mumo.py
4
mumo.py
@@ -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
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user