forked from p15670423/monkey
island: Rename start_island() -> main()
This commit is contained in:
parent
3917663c5c
commit
c40af5073b
|
@ -1,4 +1,4 @@
|
||||||
from monkey_island.startup import start_island
|
from monkey_island.main import main
|
||||||
|
|
||||||
if "__main__" == __name__:
|
if "__main__" == __name__:
|
||||||
start_island()
|
main()
|
||||||
|
|
|
@ -4,7 +4,7 @@ import monkey_island.setup.gevent_setup # noqa: F401 isort:skip
|
||||||
from monkey_island.cc.server_utils.island_logger import setup_default_failsafe_logging
|
from monkey_island.cc.server_utils.island_logger import setup_default_failsafe_logging
|
||||||
|
|
||||||
|
|
||||||
def start_island():
|
def main():
|
||||||
# This is here in order to catch EVERYTHING, some functions are being called on
|
# This is here in order to catch EVERYTHING, some functions are being called on
|
||||||
# imports, so the log init needs to be first.
|
# imports, so the log init needs to be first.
|
||||||
try:
|
try:
|
||||||
|
@ -19,4 +19,4 @@ def start_island():
|
||||||
|
|
||||||
|
|
||||||
if "__main__" == __name__:
|
if "__main__" == __name__:
|
||||||
start_island()
|
main()
|
||||||
|
|
Loading…
Reference in New Issue