[entropy.client.interfaces.methods] use Spm_class() in get_package_groups()

This commit is contained in:
Fabio Erculiani
2011-02-04 14:47:04 +01:00
parent 4294b605b6
commit 6ea078c35d

View File

@@ -1646,8 +1646,7 @@ class MiscMixin:
@return: Entropy Package Groups metadata
@rtype: dict
"""
from entropy.spm.plugins.factory import get_default_class
spm = get_default_class()
spm = self.Spm_class()
groups = spm.get_package_groups().copy()
# expand metadata