summaryrefslogtreecommitdiffstats
path: root/src/lib/Client/Toolset.py
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2005-09-14 18:20:43 +0000
committerNarayan Desai <desai@mcs.anl.gov>2005-09-14 18:20:43 +0000
commitf551b28b845e64aee6b1e74bb45965e5771b833b (patch)
tree779200851be049bf4f2fef4daa0a011adf5897ff /src/lib/Client/Toolset.py
parente69fa9336ad5842370b40885135ec7f7cf980745 (diff)
downloadbcfg2-f551b28b845e64aee6b1e74bb45965e5771b833b.tar.gz
bcfg2-f551b28b845e64aee6b1e74bb45965e5771b833b.tar.bz2
bcfg2-f551b28b845e64aee6b1e74bb45965e5771b833b.zip
undo nosrv changes
2005/09/14 08:27:34-05:00 anl.gov!desai add the nosvc setup flag (Logical change 1.312) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1272 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Client/Toolset.py')
-rw-r--r--src/lib/Client/Toolset.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/Client/Toolset.py b/src/lib/Client/Toolset.py
index 79d5e8974..0e5f513e2 100644
--- a/src/lib/Client/Toolset.py
+++ b/src/lib/Client/Toolset.py
@@ -430,7 +430,8 @@ class Toolset(object):
(child.tag, child.get('name'), self.states[child]))
for postinst in [entry for entry in bchildren if entry.tag == 'PostInstall']:
system(postinst.get('name'))
- for svc in [svc for svc in bchildren if svc.tag == 'Service' and svc.get('status', 'off') == 'on']:
+ for svc in [svc for svc in bchildren if svc.tag == 'Service' and
+ svc.get('status', 'off') == 'on']:
if self.setup['build']:
# stop services in miniroot
system('/etc/init.d/%s stop' % svc.get('name'))