# HG changeset patch # User souliane # Date 1450182815 -3600 # Node ID a12e5e866d2529bfd4d2b05da4b3dbf003f07e0f # Parent baac0fc5e3ad946c8edd4696277d329ec7afc7f1 memory (params): forbid to pass a value to a parameter of type "list" with diff -r baac0fc5e3ad -r a12e5e866d25 src/memory/params.py --- a/src/memory/params.py Tue Dec 15 14:25:26 2015 +0100 +++ b/src/memory/params.py Tue Dec 15 13:33:35 2015 +0100 @@ -358,21 +358,21 @@ if node.getAttribute('type') == 'int': return int(value_to_use) elif node.getAttribute('type') == 'list': + assert not value_to_use # only accept