aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--steuermann/nodes.py2
-rw-r--r--steuermann/run.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/steuermann/nodes.py b/steuermann/nodes.py
index 871b7c6..0292d9b 100644
--- a/steuermann/nodes.py
+++ b/steuermann/nodes.py
@@ -200,7 +200,7 @@ class node(object) :
self.name = name
# the command script that this node runs
- self.script = script
+ self.script = script % nodes.saved_conditions
self.script_type = script_type
# what "resources" it requires
diff --git a/steuermann/run.py b/steuermann/run.py
index 4ae1ba3..deb199e 100644
--- a/steuermann/run.py
+++ b/steuermann/run.py
@@ -152,7 +152,7 @@ class runner(object):
)
print
- print 'script = %s' %(args['script'] % nodes.saved_conditions)
+ print 'script = %s' %args['script']
print