From a40cf5763752f7bb259cbc6b689d57691e2be00f Mon Sep 17 00:00:00 2001 From: Zach Lowry Date: Thu, 14 Jul 2005 14:30:12 +0000 Subject: 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 --- src/lib/Client/Solaris.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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): -- cgit v1.2.3-1-g7c22