diff options
-rw-r--r-- | steuermann/nodes.py | 7 | ||||
-rw-r--r-- | steuermann/run.py | 7 |
2 files changed, 6 insertions, 8 deletions
diff --git a/steuermann/nodes.py b/steuermann/nodes.py index 36c1f08..871b7c6 100644 --- a/steuermann/nodes.py +++ b/steuermann/nodes.py @@ -200,12 +200,7 @@ class node(object) : self.name = name # the command script that this node runs - print - print script - print saved_conditions - print - - self.script = script % saved_conditions + self.script = script self.script_type = script_type # what "resources" it requires diff --git a/steuermann/run.py b/steuermann/run.py index eb7efa5..d5535b3 100644 --- a/steuermann/run.py +++ b/steuermann/run.py @@ -31,6 +31,7 @@ import sys import errno import ConfigParser import re +import nodes def config_yes_no(d,which) : if not which in d : @@ -38,7 +39,7 @@ def config_yes_no(d,which) : s = d[which] return s.strip()[0].lower() in ( 'y', 't', '1' ) -debug=0 +debug=1 ##### @@ -152,7 +153,9 @@ class runner(object): ) print - print 'script = %s' %args['script'] + print 'script = %s' %args['script'] + print + print 'script = %s' %(args['script'] % nodes.saved_conditions) print |