summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorZach Lowry <zach@mcs.anl.gov>2005-07-14 14:30:12 +0000
committerZach Lowry <zach@mcs.anl.gov>2005-07-14 14:30:12 +0000
commita40cf5763752f7bb259cbc6b689d57691e2be00f (patch)
tree54e2667bf37b8f3c08be3d97b0179b6f7a996456 /src
parent071c97bb08cc79e84c28dc0b3b27fd3904dd72a8 (diff)
downloadbcfg2-a40cf5763752f7bb259cbc6b689d57691e2be00f.tar.gz
bcfg2-a40cf5763752f7bb259cbc6b689d57691e2be00f.tar.bz2
bcfg2-a40cf5763752f7bb259cbc6b689d57691e2be00f.zip
fix other stupid bugs
(Logical change 1.260) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1067 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rw-r--r--src/lib/Client/Solaris.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Client/Solaris.py b/src/lib/Client/Solaris.py
index aa272eac0..12e2040d1 100644
--- a/src/lib/Client/Solaris.py
+++ b/src/lib/Client/Solaris.py
@@ -90,7 +90,7 @@ class Solaris(Toolset):
if len([name for name in output if name.split()[-1] not in modlist]):
return True
else:
- self.CondPrint('debug', "Package %s content verification failed" % (entry.get('name')))
+ self.CondPrint('debug', "Package %s content verification failed" % (entry.get('name')))
return False
def Inventory(self):
@@ -99,7 +99,7 @@ class Solaris(Toolset):
allsrv = [ x.strip() for x in popen("/usr/bin/svcs -a -H -o SVC").readlines() ]
csrv = self.cfg.findall(".//Service")
nsrv = [ r for r in [ popen("/usr/bin/svcs -H -o FMRI %s " % s).read().strip() for s in csrv ] if r ]
- allsrv.remove(svc.get('name')) for svc in csrv if svc.get('status') == 'on' and svc.get('name') in allsrv]
+ [allsrv.remove(svc.get('name')) for svc in csrv if svc.get('status') == 'on' and svc.get('name') in allsrv]
self.extra_services = allsrv
def HandleExtra(self):