diff --git a/bench/app.py b/bench/app.py index b4249122..ae57cb7c 100755 --- a/bench/app.py +++ b/bench/app.py @@ -381,10 +381,10 @@ def switch_branch(branch, apps=None, bench_path='.', upgrade=False, check_upgrad if version_upgrade[0] and upgrade: if sys.version_info >= (3, 4): from importlib import reload + reload(utils) update_requirements() update_node_packages() pre_upgrade(version_upgrade[1], version_upgrade[2]) - reload(utils) backup_all_sites() patch_sites() build_assets()