From e7af8c02988d71e5bf14e4b51fb7e5d52e44f382 Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Wed, 18 Feb 2015 15:07:09 +0000
Subject: [PATCH] Task #7352: Propagate QUEUE_PREFIX to remote clients

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

diff --git a/CEP/Pipeline/framework/lofarpipe/support/remotecommand.py b/CEP/Pipeline/framework/lofarpipe/support/remotecommand.py
index d2ce444a39c..963ee22660a 100644
--- a/CEP/Pipeline/framework/lofarpipe/support/remotecommand.py
+++ b/CEP/Pipeline/framework/lofarpipe/support/remotecommand.py
@@ -252,7 +252,8 @@ class ComputeJob(object):
                     "PATH": os.environ.get('PATH'),
                     "PYTHONPATH": os.environ.get('PYTHONPATH'),
                     "LD_LIBRARY_PATH": os.environ.get('LD_LIBRARY_PATH'),
-                    "LOFARROOT" : os.environ.get('LOFARROOT')
+                    "LOFARROOT" : os.environ.get('LOFARROOT'),
+                    "QUEUE_PREFIX" : os.environ.get('QUEUE_PREFIX','')
                 },
                 arguments = [id, jobhost, jobport]
             )
-- 
GitLab