From 58638e2c072cd4f401a3d57d94dee65ede730d58 Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Wed, 6 Apr 2016 18:57:42 +0000
Subject: [PATCH] Task #8437: Avoid empty parameters

---
 CEP/Pipeline/framework/lofarpipe/support/remotecommand.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CEP/Pipeline/framework/lofarpipe/support/remotecommand.py b/CEP/Pipeline/framework/lofarpipe/support/remotecommand.py
index 4609d07b719..c1993194c5d 100644
--- a/CEP/Pipeline/framework/lofarpipe/support/remotecommand.py
+++ b/CEP/Pipeline/framework/lofarpipe/support/remotecommand.py
@@ -185,7 +185,7 @@ def run_via_custom_cmdline(logger, host, command, environment, arguments, config
       command      = commandStr,
       job_name     = jobname(command),
       nr_cores     = resources.get("cores", 1),
-    ).split(' ')
+    ).split()
 
     logger.debug("Dispatching command to %s with custom_cmdline: %s" % (host, full_command_line))
     return full_command_line
-- 
GitLab