diff --git a/maintainers/scripts/pluginupdate-py/pluginupdate.py b/maintainers/scripts/pluginupdate-py/pluginupdate.py index e3a4c44ede7e..c65a27b16cd7 100644 --- a/maintainers/scripts/pluginupdate-py/pluginupdate.py +++ b/maintainers/scripts/pluginupdate-py/pluginupdate.py @@ -504,13 +504,14 @@ class Editor: ) _prefetch = functools.partial(prefetch, cache=cache) + to_update_for_filter = [x.replace(".", "-") for x in to_update] plugins_to_update = ( current_plugin_specs if len(to_update) == 0 else [ description for description in current_plugin_specs - if self.filter_plugins_to_update(description, to_update) + if self.filter_plugins_to_update(description, to_update_for_filter) ] )