From c57c5b0b4465fbbd1224a63ca6bcaaee3b28c634 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Fri, 16 Dec 2011 10:17:26 +0530 Subject: [PATCH] Return if old patch.py executed anyway --- erpnext/patches/patch.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/erpnext/patches/patch.py b/erpnext/patches/patch.py index 97179caa6d..4e32c02e2c 100644 --- a/erpnext/patches/patch.py +++ b/erpnext/patches/patch.py @@ -5,7 +5,8 @@ last_patch = 388 #------------------------------------------- -def execute_depricated(patch_no): +def execute(patch_no): + return import webnotes from webnotes.modules.module_manager import reload_doc