diff --git a/bench/utils/bench.py b/bench/utils/bench.py index cf590e6f..b6afd1c0 100644 --- a/bench/utils/bench.py +++ b/bench/utils/bench.py @@ -385,7 +385,6 @@ def update( from bench.bench import Bench from bench.config.common_site_config import update_config from bench.exceptions import CannotUpdateReleaseBench - from bench.utils import clear_command_cache from bench.utils.app import is_version_upgrade from bench.utils.system import backup_all_sites @@ -394,8 +393,6 @@ def update( patches.run(bench_path=bench_path) conf = bench.conf - clear_command_cache(bench_path=".") - if conf.get("release_bench"): raise CannotUpdateReleaseBench("Release bench detected, cannot update!")