def _fail_if_plugin_name_is_already_registered(self, plugin, plugin_name):
        if plugin_name in self._plugin_factory_by_name:
            e_msg = plugin_name % 'multiple plugins with the same name: %s '
            details = (plugin, self._plugin_factory_by_name[plugin_name])
            detail = 'Attempted to register "%s" with that name, but it is already registered by "%s" ' % details
            raise exceptions.ConfigurationError(e_msg, detail)
dataset/ETHPy150Open foundit/Piped/piped/plugin.py/PluginManager._fail_if_plugin_name_is_already_registered/swapped operands of `%`