diff options
-rw-r--r-- | src/lib/Server/Plugins/Packages/Yum.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/Server/Plugins/Packages/Yum.py b/src/lib/Server/Plugins/Packages/Yum.py index ae1fcd956..fa0dc527e 100644 --- a/src/lib/Server/Plugins/Packages/Yum.py +++ b/src/lib/Server/Plugins/Packages/Yum.py @@ -505,7 +505,7 @@ class YumCollection(Collection): group = group[1:] try: - return self.groups_cache[group] + return self.group_cache[group] except KeyError: pass @@ -521,8 +521,8 @@ class YumCollection(Collection): self.logger.warning("Packages: %s" % err) pkgs = [] - self.groups_cache[group] = pkgs - return self.groups_cache[group] + self.group_cache[group] = pkgs + return self.group_cache[group] def _filter_provides(self, package, providers): providers = [pkg for pkg in self._filter_arch(providers)] |