From 1f1e5e5d26dc425692a5aeea52835e44df2e511f Mon Sep 17 00:00:00 2001 From: gwen Date: Tue, 26 Feb 2013 17:04:41 +0100 Subject: [PATCH] type shall not be a list --- tiramisu/value.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tiramisu/value.py b/tiramisu/value.py index 282c996..2ac7add 100644 --- a/tiramisu/value.py +++ b/tiramisu/value.py @@ -69,6 +69,8 @@ class Values(object): def set_previous_value(self, opt): if opt in self.values: old_value = self.values[opt] + elif opt.is_multi(): + old_value = [] else: old_value = None if type(old_value) == Multi: