aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcslocum <cslocum@d34015c8-bcbb-4646-8ac8-8ba5febf221d>2014-06-16 11:18:44 -0400
committercslocum <cslocum@d34015c8-bcbb-4646-8ac8-8ba5febf221d>2014-06-16 11:18:44 -0400
commitaa507a1dea4423fdfd3c52695707aa379655b83a (patch)
tree508655328e2872781b6619702afe421c36f3af19
parent099a2b3bb4e70e11ccf5f6a547f0592d3e1edd0d (diff)
downloadsteuermann-aa507a1dea4423fdfd3c52695707aa379655b83a.tar.gz
make sure not to subsitute hostname
git-svn-id: https://svn.stsci.edu/svn/ssb/etal/steuermann/trunk@1284 d34015c8-bcbb-4646-8ac8-8ba5febf221d
-rw-r--r--steuermann/run.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/steuermann/run.py b/steuermann/run.py
index 9521b8a..17973dc 100644
--- a/steuermann/run.py
+++ b/steuermann/run.py
@@ -158,12 +158,14 @@ class runner(object):
args[k] = v
# we want things defined in the CONDITIONS block to be part of args
+ # (except for hostname)
for k, v in nodes.saved_conditions.items():
if v == True:
v = 'True'
if v == False:
v = 'False'
- args[k] = v
+ if not k == 'hostname':
+ args[k] = v
if debug :
print "ARGS"