aboutsummaryrefslogtreecommitdiff
path: root/litsupport/remote.py
diff options
context:
space:
mode:
Diffstat (limited to 'litsupport/remote.py')
-rw-r--r--litsupport/remote.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/litsupport/remote.py b/litsupport/remote.py
index 0d6fc480..887ce0c1 100644
--- a/litsupport/remote.py
+++ b/litsupport/remote.py
@@ -5,7 +5,7 @@ from litsupport import testplan
import logging
-def mutateCommandline(context, commandline, suffix=""):
+def _mutateCommandline(context, commandline, suffix=""):
shfilename = context.tmpBase + suffix + ".sh"
shfile = open(shfilename, "w")
shfile.write(commandline + "\n")
@@ -25,11 +25,11 @@ def mutateCommandline(context, commandline, suffix=""):
return remote_commandline
-def mutateScript(context, script, suffix=""):
- mutate = lambda c, cmd: mutateCommandline(c, cmd, suffix)
+def _mutateScript(context, script, suffix=""):
+ mutate = lambda c, cmd: _mutateCommandline(c, cmd, suffix)
return testplan.mutateScript(context, script, mutate)
def mutatePlan(context, plan):
- plan.preparescript = mutateScript(context, plan.preparescript, "-prepare")
- plan.runscript = mutateScript(context, plan.runscript)
+ plan.preparescript = _mutateScript(context, plan.preparescript, "-prepare")
+ plan.runscript = _mutateScript(context, plan.runscript)