From: Marc Fiuczynski Date: Wed, 27 May 2009 16:55:07 +0000 (+0000) Subject: bug fix: instantiating Roles() only takes 2 args, not three. X-Git-Tag: PLCAPI-4.3-16~2 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=4377b1e5e02fcfc494250b846dccbbe1a50c0221;p=plcapi.git bug fix: instantiating Roles() only takes 2 args, not three. --- diff --git a/PLC/Persons.py b/PLC/Persons.py index 3c49ae61..95efb894 100644 --- a/PLC/Persons.py +++ b/PLC/Persons.py @@ -239,7 +239,7 @@ class Person(Row): # Translate roles into role_ids if role_names: - roles = Roles(self.api, role_names, ['role_id']).dict('role_id') + roles = Roles(self.api, role_names).dict('role_id') role_ids += roles.keys() # Add new ids, remove stale ids