From eabe3bc55f15ebaf4d1f306b8b74dbc9cdc10821 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Thu, 16 Jan 2014 09:28:10 +0100 Subject: [PATCH] corrections --- tiramisu/option.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiramisu/option.py b/tiramisu/option.py index 48e02d4..7de14a2 100644 --- a/tiramisu/option.py +++ b/tiramisu/option.py @@ -1540,7 +1540,7 @@ class OptionDescription(BaseOption): def impl_get_opt_by_id(self, opt_id): try: #FIXME - idx = self._cache_paths[0].index(opt_id) + #idx = self._cache_paths[0].index(opt_id) return session.query(BaseOption).filter_by(id=opt_id).first() except ValueError: raise AttributeError(_('no id {0} found').format(opt_id))