From 9c26d4d8707f3ccad4284c597b52bd2bd18f72dc Mon Sep 17 00:00:00 2001 From: Xavier-Do Date: Mon, 3 Feb 2020 14:19:56 +0000 Subject: [IMP] core: rename upgrades-paths to upgrade-path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since this option is soon to be used, this rename is a last tweek to make it more logical to use since it will point to a single upgrade dir most of the time. closes odoo/odoo#44593 X-original-commit: 1c8e2809fb296abce6114b7da906d48a240df418 Signed-off-by: Xavier Dollé (xdo) --- odoo/upgrade/__init__.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 odoo/upgrade/__init__.py (limited to 'odoo/upgrade') diff --git a/odoo/upgrade/__init__.py b/odoo/upgrade/__init__.py new file mode 100644 index 00000000000..5fb18447da2 --- /dev/null +++ b/odoo/upgrade/__init__.py @@ -0,0 +1,6 @@ +import pkgutil +import os.path +__path__ = [ + os.path.abspath(path) + for path in pkgutil.extend_path(__path__, __name__) +] -- cgit v1.2.3