diff options
author | Paul J. Davis <paul.joseph.davis@gmail.com> | 2021-01-21 10:23:42 -0600 |
---|---|---|
committer | Paul J. Davis <paul.joseph.davis@gmail.com> | 2021-01-21 10:23:42 -0600 |
commit | 5ae4c8cade9c3a152a9d153d28a8090c77827021 (patch) | |
tree | b72c1c07f3cb22978d9762d7c72a90fd2af3f0c4 | |
parent | 2a4389feca445a89dd54cbab5954569d993c346b (diff) | |
download | couchdb-devnode-boot-script.tar.gz |
Add formatting suggestions from python-blackdevnode-boot-script
-rwxr-xr-x | dev/run | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -190,7 +190,7 @@ def get_args_parser(): "--erlang-config", dest="erlang_config", default="rel/files/sys.config", - help="Specify an alternative Erlang application configuration" + help="Specify an alternative Erlang application configuration", ) parser.add_option( "--degrade-cluster", @@ -275,6 +275,7 @@ def check_beams(ctx): for fname in glob.glob(os.path.join(ctx["devdir"], "*.erl")): sp.check_call(["erlc", "-o", ctx["devdir"] + os.sep, fname]) + @log("Ensure Erlang boot script exists") def check_boot_script(ctx): if not os.path.exists(os.path.join(ctx["devdir"], "devnode.boot")): @@ -282,6 +283,7 @@ def check_boot_script(ctx): env["ERL_LIBS"] = os.path.join(ctx["rootdir"], "src") sp.check_call(["escript", "make_boot_script"], env=env, cwd=ctx["devdir"]) + @log("Prepare configuration files") def setup_configs(ctx): for idx, node in enumerate(ctx["nodes"]): @@ -631,7 +633,7 @@ def boot_node(ctx, node): os.path.join(ctx["devdir"], "devnode"), "-pa", ctx["devdir"], - "-s monitor_parent" + "-s monitor_parent", ] if ctx["reset_logs"]: mode = "wb" |