Cleanup attribute names for CORE Subdepartment model

This commit is contained in:
Lance Edgar 2019-07-25 16:14:24 -05:00
parent 2a37bb5a49
commit 9ede5b339d

View file

@ -131,9 +131,9 @@ class SubdepartmentImporter(FromCOREPOS, importing.model.SubdepartmentImporter):
def normalize_host_object(self, subdepartment):
return {
'number': subdepartment.subdept_no,
'name': subdepartment.subdept_name,
'department_number': subdepartment.dept_ID,
'number': subdepartment.number,
'name': subdepartment.name,
'department_number': subdepartment.department_number,
}