corrections
This commit is contained in:
parent
36cd79058f
commit
eabe3bc55f
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user