diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2011-10-10 08:45:04 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2011-10-10 08:45:04 -0400 |
commit | 04357a038df239c23564a1da419d75bf8893605b (patch) | |
tree | 71b8049fd63330deea7e8901ebb3e7c67cc54453 | |
parent | 6f179bef525b57e049ce4b2ac97853c46a3dc9db (diff) | |
download | bcfg2-04357a038df239c23564a1da419d75bf8893605b.tar.gz bcfg2-04357a038df239c23564a1da419d75bf8893605b.tar.bz2 bcfg2-04357a038df239c23564a1da419d75bf8893605b.zip |
fixed variable name typo
-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)] |