Skip to content

Commit

Permalink
[FIX] edi_oca: fix _logger.debug usage
Browse files Browse the repository at this point in the history
TypeError: not all arguments converted during string formatting
  • Loading branch information
nilshamerlinck authored and simahawk committed Oct 2, 2023
1 parent 0636f75 commit 439edab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edi_oca/models/edi_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def _find_component(self, model, usage_candidates, safe=True, work_ctx=None, **k
components, key=lambda x: self._component_sort_key(x), reverse=True
)
component = components[0](c_work_ctx)
_logger.debug("using component", component._name)
_logger.debug("using component %s", component._name)
break
if not component and not safe:
raise NoComponentError(
Expand Down

0 comments on commit 439edab

Please sign in to comment.