From 44b091e83e4500ddafc9cf9d73e09164447e2ba9 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Mon, 4 Mar 2024 12:09:41 +0100 Subject: [PATCH] Fix ruff/flake8-bugbear (B023) issue --- capsul/pipeline/pipeline_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/capsul/pipeline/pipeline_tools.py b/capsul/pipeline/pipeline_tools.py index 5ee022aa..af248c71 100644 --- a/capsul/pipeline/pipeline_tools.py +++ b/capsul/pipeline/pipeline_tools.py @@ -1385,7 +1385,7 @@ def __init__(self, value): self.value = value def __repr__(self): - return "lambda: %s" % repr(value) + return "lambda: %s" % repr(self.value) meta["default_factory"] = def_fac(field.default_factory()) has_default = True