2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-23 04:29:02 +00:00

update requirements before pre upgrade

This commit is contained in:
Pratik Vyas 2015-05-06 10:44:51 +05:30
parent de9427476d
commit e5088d28b6

View File

@ -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()