2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-22 20:19:01 +00:00

fix --upgrade logic

This commit is contained in:
Pratik Vyas 2015-03-05 17:06:15 +05:30
parent 2b5df6f516
commit 11715758f9

View File

@ -221,7 +221,7 @@ def update(pull=False, patch=False, build=False, bench=False, auto=False, restar
print "This update will cause a major version change in Frappe/ERPNext from {0} to {1}.".format(*version_upgrade)
print "This would take significant time to migrate and might break custom apps. Please run `bench update --upgrade` to confirm."
sys.exit(1)
else:
elif not version_upgrade and upgrade:
upgrade = False
if pull: