Skip to content

Commit

Permalink
Fix ruff/flake8-bugbear (B023) issue
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriPapadopoulos committed Mar 4, 2024
1 parent 1bf27c7 commit 44b091e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion capsul/pipeline/pipeline_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 44b091e

Please sign in to comment.