corrections
authorEmmanuel Garette <egarette@cadoles.com>
Thu, 16 Jan 2014 08:28:10 +0000 (09:28 +0100)
committerEmmanuel Garette <egarette@cadoles.com>
Thu, 16 Jan 2014 08:28:10 +0000 (09:28 +0100)
tiramisu/option.py

index 48e02d4..7de14a2 100644 (file)
@@ -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))