From 2d716f261d9bd3ff75fdc03f512a8ddceb22e128 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Tue, 14 Jun 2016 16:03:42 +0530 Subject: [PATCH] [temp] moved migrate_to_v5 --- bench/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bench/utils.py b/bench/utils.py index 21aae216..39322205 100644 --- a/bench/utils.py +++ b/bench/utils.py @@ -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)