utils: import historical and scope notes

This commit is contained in:
Frédéric Péters 2013-01-29 09:49:24 +01:00
parent d3ce8eb40b
commit cbb4481cdb
1 changed files with 2 additions and 1 deletions

View File

@ -34,7 +34,8 @@ class ImportJson(BrowserView):
except KeyError:
self.intids.register(object)
object.title = term.get('title')
object.description = term.get('note')
object.historical_note = term.get('historical_note')
object.scope_note = term.get('scope_note')
object.equivs = term.get('equivalents')
term_intids[term_id] = self.intids.getId(object)