diff --git a/themis/libellioimport/migration.py b/themis/libellioimport/migration.py index 4b6baa0..2dd878f 100644 --- a/themis/libellioimport/migration.py +++ b/themis/libellioimport/migration.py @@ -340,6 +340,8 @@ class ImportDeputies(BrowserView): object.birthplace = d.find('parlLocBirthDay').text object.polgroup = RelationValue(self.get_polgroup_intid( polgroups.get(d.find('grpPolId').text))) + if d.find('parlFormation') is not None: + object.degrees = d.find('parlFormation').text pic_filename = d.find('parlPicture').text pic_filepath = os.path.join(base_picdir, pic_filename) if os.path.exists(pic_filepath):