Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
WenzDaniel committed Dec 14, 2023
1 parent 62c5f8e commit b550058
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions strax/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,9 +344,12 @@ def register(self, plugin_class):
for d in old_plugin.provides:
currently_registered = self._plugin_class_registry.get(d)
if old_plugin == currently_registered:
# Must be equal here, because we are only looking for the remanants which were
# Must be equal here, because we are only looking for the remanants which were
# not overwritten above.
warnings.warn(f'Provides of multi-output plugins overlap dregister plugin {old_plugin}.')
warnings.warn(
"Provides of multi-output plugins overlap, deregister old plugins"
f" {old_plugin}."
)
del self._plugin_class_registry[d]

already_seen = []
Expand Down

0 comments on commit b550058

Please sign in to comment.