diff --git a/src/odoo_analyse/__init__.py b/src/odoo_analyse/__init__.py index a9253e1..496187c 100644 --- a/src/odoo_analyse/__init__.py +++ b/src/odoo_analyse/__init__.py @@ -19,4 +19,4 @@ "geometric_mean", ] -VERSION = "1.4.0" +VERSION = "1.5.0" diff --git a/src/odoo_analyse/module.py b/src/odoo_analyse/module.py index 55e261e..7c72a70 100644 --- a/src/odoo_analyse/module.py +++ b/src/odoo_analyse/module.py @@ -285,10 +285,10 @@ def _parse_csv(self, path): def _parse_js(self, path, pattern): """Parse JavaScript files. - `path` .. directory of the module - `pattern` .. relative path/glob of the JS files""" + `path` .. directory of the module + `pattern` .. relative path/glob of the JS files""" - for file in glob.glob(os.path.join(path, pattern.strip('/')), recursive=True): + for file in glob.glob(os.path.join(path, pattern.strip("/")), recursive=True): if not file.endswith(".js"): continue