Skip to content

Commit

Permalink
Fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
icemac committed Aug 22, 2023
1 parent e132b35 commit 44891e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Products/GenericSetup/tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def importToolset(context):
continue
unwrapped = aq_base(existing)
# don't use isinstance here as a subclass may need removing
if not isinstance(unwrapped, tool_class):
if type(unwrapped) is not tool_class:
site._delObject(tool_id)
site._setObject(tool_id, tool_class())

Expand Down

0 comments on commit 44891e1

Please sign in to comment.