diff --git a/src/virtualenv/run/plugin/base.py b/src/virtualenv/run/plugin/base.py index dfde75166..e4394a1cd 100644 --- a/src/virtualenv/run/plugin/base.py +++ b/src/virtualenv/run/plugin/base.py @@ -11,12 +11,12 @@ class PluginLoader(object): @classmethod def entry_points_for(cls, key): - return OrderedDict((e.name, e.load()) for e in cls.entry_points(group=key)) + return OrderedDict((e.name, e.load()) for e in cls.entry_points().select(group=key)) @staticmethod - def entry_points(**kwargs): + def entry_points(): if PluginLoader._ENTRY_POINTS is None: - PluginLoader._ENTRY_POINTS = entry_points(**kwargs) + PluginLoader._ENTRY_POINTS = entry_points return PluginLoader._ENTRY_POINTS