diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/Bcfg2/Server/Plugins/Packages/Yum.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/Packages/Yum.py b/src/lib/Bcfg2/Server/Plugins/Packages/Yum.py index 7b5475ecc..71c6d003c 100644 --- a/src/lib/Bcfg2/Server/Plugins/Packages/Yum.py +++ b/src/lib/Bcfg2/Server/Plugins/Packages/Yum.py @@ -354,7 +354,7 @@ class YumCollection(Collection): a call to it; I wish there was a way to do this without forking, but apparently not); finally we check in /usr/sbin, the default location. """ - if not self._helper: + if not self.__class___helper: # pylint: disable=W0212 try: self.__class__._helper = self.setup.cfp.get("packages:yum", @@ -368,7 +368,7 @@ class YumCollection(Collection): except OSError: self.__class__._helper = "/usr/sbin/bcfg2-yum-helper" # pylint: enable=W0212 - return self._helper + return self.__class__._helper @property def use_yum(self): |