summaryrefslogtreecommitdiffstats
path: root/src/lib/Client/Redhat.py
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2005-12-13 21:46:22 +0000
committerNarayan Desai <desai@mcs.anl.gov>2005-12-13 21:46:22 +0000
commit1003fe365057641df5879ad578cf3cab1f68a8c7 (patch)
treee32f0a0a3c58655237eba1c7e96d93e3f413cae5 /src/lib/Client/Redhat.py
parent8d6846fa73ceadf1011237ec7048a7eed39c0805 (diff)
downloadbcfg2-1003fe365057641df5879ad578cf3cab1f68a8c7.tar.gz
bcfg2-1003fe365057641df5879ad578cf3cab1f68a8c7.tar.bz2
bcfg2-1003fe365057641df5879ad578cf3cab1f68a8c7.zip
fix two minor problems
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1626 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Client/Redhat.py')
-rw-r--r--src/lib/Client/Redhat.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Client/Redhat.py b/src/lib/Client/Redhat.py
index 6c9d0d7c9..d68288b79 100644
--- a/src/lib/Client/Redhat.py
+++ b/src/lib/Client/Redhat.py
@@ -6,7 +6,7 @@ __revision__ = '$Revision$'
from os import popen, system
-from Bcfg2.Client.Toolset import Toolset, saferun
+from Bcfg2.Client.Toolset import Toolset
class ToolsetImpl(Toolset):
'''This class implelements support for rpm packages and standard chkconfig services'''
@@ -95,7 +95,7 @@ class ToolsetImpl(Toolset):
self.CondPrint('debug', "Package %s: not installed" % (entry.get('name')))
return False
- (vstat, output) = saferun("rpm --verify -q %s-%s" % (entry.get('name'), entry.get('version')))
+ (vstat, output) = self.saferun("rpm --verify -q %s-%s" % (entry.get('name'), entry.get('version')))
if vstat != 0:
if [name for name in output if name.split()[-1] not in modlist]:
self.CondPrint('debug',