summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_farm.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_farm.py b/test/test_farm.py
index d7b40b33..239dac00 100644
--- a/test/test_farm.py
+++ b/test/test_farm.py
@@ -129,7 +129,8 @@ class FarmTestCase(object):
cwd = self.cd(rundir)
try:
for cmd in cmds.split("\n"):
- if not cmd.strip():
+ cmd = cmd.strip()
+ if not cmd:
continue
retcode, output = run_command(cmd)
print output,