From: Tony Mack Date: Thu, 10 Jun 2010 11:54:42 +0000 (+0000) Subject: researchers should be researcher X-Git-Tag: sfa-1.0-0~176 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=9a1758c967cd767724e8bf41a2edd5aa3304391d;p=sfa.git researchers should be researcher --- diff --git a/sfa/plc/api.py b/sfa/plc/api.py index f9a39020..a75dd335 100644 --- a/sfa/plc/api.py +++ b/sfa/plc/api.py @@ -465,10 +465,10 @@ class SfaAPI(BaseAPI): if (type == "slice"): # all slice users are researchers record['PI'] = [] - record['researchers'] = [] + record['researcher'] = [] for person_id in record['person_ids']: hrns = [person['hrn'] for person in persons[person_id]] - record['researchers'].extend(hrns) + record['researcher'].extend(hrns) # pis at the slice's site pl_pis = site_pis[record['site_id']]