From f6db7c995f162c50b20b7cf857b543c37f5d3848 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A1ssio=20Botaro?= Date: Sun, 3 May 2015 14:02:11 -0300 Subject: [PATCH] Its necessary because of default=None trick --- gluon/storage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gluon/storage.py b/gluon/storage.py index 117ccac1..4a1e46a7 100644 --- a/gluon/storage.py +++ b/gluon/storage.py @@ -293,7 +293,7 @@ class List(list): """ value = self[i] if not value and default is not DEFAULT: - value, cast = default, False + value, cast, otherwise = default, False, False try: if cast: value = cast(value)