diff --git a/tractor/_child.py b/tractor/_child.py index 431027d..f145824 100644 --- a/tractor/_child.py +++ b/tractor/_child.py @@ -1,3 +1,5 @@ +"""This is the "bootloader" for actors started using the native trio backend. +""" import sys import trio import argparse @@ -8,9 +10,6 @@ from ._actor import Actor from ._entry import _trio_main -"""This is the "bootloader" for actors started using the native trio backend. -""" - def parse_uid(arg): name, uuid = literal_eval(arg) # ensure 2 elements return str(name), str(uuid) # ensures str encoding @@ -23,11 +22,9 @@ def parse_ipaddr(arg): if __name__ == "__main__": parser = argparse.ArgumentParser() - parser.add_argument("--uid", type=parse_uid) parser.add_argument("--loglevel", type=str) parser.add_argument("--parent_addr", type=parse_ipaddr) - args = parser.parse_args() subactor = Actor(