From 259bc4f5b89d4d7f73db3dbcc37b4c50a81c45d6 Mon Sep 17 00:00:00 2001 From: Kazuhiko SHIOZAKI <kazuhiko@nexedi.com> Date: Thu, 16 Mar 2023 17:15:02 +0100 Subject: [PATCH] fixup! apply raiser fixer & absolute import fixer --- product/ERP5Type/dynamic/component_package.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/product/ERP5Type/dynamic/component_package.py b/product/ERP5Type/dynamic/component_package.py index bfbc9e0ecd0..4e06e2d7b79 100644 --- a/product/ERP5Type/dynamic/component_package.py +++ b/product/ERP5Type/dynamic/component_package.py @@ -399,8 +399,8 @@ class ComponentDynamicPackage(ModuleType): reraise( ComponentImportError, - "%s: cannot load Component %s :\n%s" % ( - fullname, name, traceback.format_exc()), + ComponentImportError("%s: cannot load Component %s :\n%s" % ( + fullname, name, traceback.format_exc())), sys.exc_info()[2]) # Add the newly created module to the Version package and add it as an -- 2.30.9