Fix guidelines

This commit is contained in:
Cédric Krier committed 2009-05-17 17:23:47 +02:00
1 parent 6bddc3fca9
commit d301910e59
1 file changed
+2 -2
+2 -2
View File
@@ -108,8 +108,8 @@ class Lang(ModelSQL, ModelView, Cacheable):
res = self.get(cursor, 'translatable_languages')
if res is None:
lang_ids = self.search(cursor, user, [
('translatable', '=', True),
], context=context)
('translatable', '=', True),
], context=context)
res = [x.code for x in self.browse(cursor, user, lang_ids,
context=context)]
self.add(cursor, 'translatable_languages', res)