From a29630c3b6e0647e7bbc1955d624389f24df7678 Mon Sep 17 00:00:00 2001 From: souliane Date: Tue, 15 Dec 2015 13:33:35 +0100 Subject: [PATCH] memory (params): forbid to pass a value to a parameter of type "list" with --- src/memory/params.py | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/memory/params.py b/src/memory/params.py index 020d9932..e075c083 100644 --- a/src/memory/params.py +++ b/src/memory/params.py @@ -358,21 +358,21 @@ class Params(object): if node.getAttribute('type') == 'int': return int(value_to_use) elif node.getAttribute('type') == 'list': + assert not value_to_use # only accept