From f128e23416b34d5021dae234e11c7a22d99ec592 Mon Sep 17 00:00:00 2001 From: fbarreir Date: Tue, 3 Dec 2019 16:30:52 +0100 Subject: [PATCH] prodanaly: treat prodsourcelabel=panda as analysis jobs --- pandaharvester/harvestercore/queue_config_mapper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandaharvester/harvestercore/queue_config_mapper.py b/pandaharvester/harvestercore/queue_config_mapper.py index 36fd1033..ee83827a 100644 --- a/pandaharvester/harvestercore/queue_config_mapper.py +++ b/pandaharvester/harvestercore/queue_config_mapper.py @@ -83,8 +83,8 @@ def get_source_label(self, job_type=None): return 'test' # grandly unified queues: prodsourcelabel in job has precedence over queue prodsourcelabel - if job_type == 'user': - return job_type + if job_type in ('user', 'panda'): + return 'user' return self.prodSourceLabel