mirror of
https://github.com/frappe/bench.git
synced 2024-11-12 00:06:36 +00:00
[temp] moved migrate_to_v5
This commit is contained in:
parent
253f72fba3
commit
2d716f261d
@ -502,9 +502,9 @@ def validate_upgrade(from_ver, to_ver, bench='.'):
|
||||
raise Exception("Please install nodejs and npm")
|
||||
|
||||
def pre_upgrade(from_ver, to_ver, bench='.'):
|
||||
from .migrate_to_v5 import remove_shopping_cart
|
||||
pip = os.path.join(bench, 'env', 'bin', 'pip')
|
||||
if from_ver <= 4 and to_ver >= 5:
|
||||
from .migrate_to_v5 import remove_shopping_cart
|
||||
apps = ('frappe', 'erpnext')
|
||||
remove_shopping_cart(bench=bench)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user