From 95c7e2b809ec2c13182cfdbc86795bd44ef995b4 Mon Sep 17 00:00:00 2001 From: souliane Date: Sat, 22 Aug 2015 10:28:07 +0200 Subject: [PATCH] core (params): fixes jid_list to use node's default value when no user value is defined --- src/memory/params.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/memory/params.py b/src/memory/params.py index f7827b3d..2c99404b 100644 --- a/src/memory/params.py +++ b/src/memory/params.py @@ -373,10 +373,10 @@ class Params(object): log.error(_(u'Parameter (%(cat)s, %(param)s) of type list has more than one default option!') % {'cat': cat, 'param': param}) raise exceptions.DataError elif node.getAttribute('type') == 'jids_list': - if not value: + if not value_to_use: log.debug(u"jids list value is empty") return [] - jids = value.split('\t') + jids = value_to_use.split('\t') to_delete = [] for idx, value in enumerate(jids): try: