From a18f1f784e215a24f6e99a3da6d1d5675da999d0 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Sat, 29 Jun 2019 06:03:05 +0200 Subject: [PATCH] [mod] remove debug stuff --- src/yunohost/app.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/yunohost/app.py b/src/yunohost/app.py index 11d9b735b..cad528795 100644 --- a/src/yunohost/app.py +++ b/src/yunohost/app.py @@ -1654,7 +1654,6 @@ def app_config_show_panel(app): [{option["name"]: parsed_values[generated_name]}], [option] ) - print("%s ----> %s ----> %s" % (option["name"], repr(option.get("default", "[removed -> false]")), args_dict[option["name"]])) option["default"] = args_dict[option["name"]] else: logger.debug("Variable '%s' is not declared by config script, using default", generated_name) @@ -1691,8 +1690,6 @@ def app_config_apply(app, args): "YNH_APP_INSTANCE_NUMBER": str(app_instance_nb), } args = dict(urlparse.parse_qsl(args, keep_blank_values=True)) if args else {} - print(json.dumps(args, sort_keys=True, indent=4)) - print("------------------------------------------") for tab in config_panel.get("panel", []): tab_id = tab["id"] # this makes things easier to debug on crash @@ -1713,7 +1710,6 @@ def app_config_apply(app, args): if key not in env: logger.warning("Ignore key '%s' from arguments because it is not in the config", key) - print(json.dumps(env, sort_keys=True, indent=4)) return_code = hook_exec(config_script, args=["apply"], env=env,