From e5088d28b60501cdc29ae498ddeceb52f45e2b6d Mon Sep 17 00:00:00 2001 From: Pratik Vyas Date: Wed, 6 May 2015 10:44:51 +0530 Subject: [PATCH] update requirements before pre upgrade --- bench/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bench/app.py b/bench/app.py index 10d40d4b..f9dd4bc0 100644 --- a/bench/app.py +++ b/bench/app.py @@ -156,8 +156,8 @@ def switch_branch(branch, apps=None, bench='.', upgrade=False): exec_cmd("git merge upstream/{branch}".format(branch=branch), cwd=app_dir) if version_upgrade and upgrade: - pre_upgrade(version_upgrade[0], version_upgrade[1]) update_requirements() + pre_upgrade(version_upgrade[0], version_upgrade[1]) reload(utils) backup_all_sites() patch_sites()