From 304a048edbc3909357c8b4e85ea583a673c3cedd Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Thu, 3 Sep 2009 14:38:18 +0000 Subject: [PATCH] fix typo --- PLC/Methods/AddPersonToSite.py | 2 +- PLC/SFA.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PLC/Methods/AddPersonToSite.py b/PLC/Methods/AddPersonToSite.py index e208b69..a6699cf 100644 --- a/PLC/Methods/AddPersonToSite.py +++ b/PLC/Methods/AddPersonToSite.py @@ -58,6 +58,6 @@ class AddPersonToSite(Method): (person['person_id'], site['site_id']) sfa = SFA(self.api) - self.update_record(person, 'user') + sfa.update_record(person, 'user') return 1 diff --git a/PLC/SFA.py b/PLC/SFA.py index ce097f9..efd2aa1 100644 --- a/PLC/SFA.py +++ b/PLC/SFA.py @@ -136,7 +136,7 @@ class SFA: # object object['hrn'] = self.get_object_hrn(type, object, self.authority, login_base) object['type'] = type - if type in ['user']: + if type in ['user', 'person']: record = UserRecord(dict=object) elif type in ['slice']: -- 2.43.0