lab.nexedi.com will be down from Thursday, 20 March 2025, 07:30:00 UTC for a duration of approximately 2 hours

Commit 6215110a authored by Vincent Pelletier's avatar Vincent Pelletier

Add a warning about possibly incorrect code.

parent ac480a3e
......@@ -21,6 +21,8 @@ if 1:
Patch2: do not use hasattr.
"""
if f is None:
# XXX: should probably use __import__ instead, as in __call__
# below.
import erp5.component.extension
try:
f = getattr(getattr(erp5.component.extension, self._module),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment