From cc45cbf8c2f71bbac67b49e93f6542e6b4c81cdf Mon Sep 17 00:00:00 2001 From: "Chinmay D. Pai" Date: Sun, 19 Apr 2020 13:53:38 +0530 Subject: [PATCH] chore: set apps to None by default Signed-off-by: Chinmay D. Pai --- bench/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bench/utils.py b/bench/utils.py index 598dd47e..84ce6e71 100755 --- a/bench/utils.py +++ b/bench/utils.py @@ -177,7 +177,7 @@ def init(path, apps_path=None, no_procfile=False, no_backups=False, copy_patches_txt(path) -def update(pull=False, apps=apps, patch=False, build=False, requirements=False, backup=True, force=False, reset=False, +def update(pull=False, apps=None, patch=False, build=False, requirements=False, backup=True, force=False, reset=False, restart_supervisor=False, restart_systemd=False): """command: bench update""" from bench import patches @@ -1162,4 +1162,4 @@ def clear_command_cache(bench_path='.'): if os.path.exists(bench_cache_file): os.remove(bench_cache_file) else: - print("Bench command cache doesn't exist in this folder!") \ No newline at end of file + print("Bench command cache doesn't exist in this folder!")