From: Tony Mack Date: Thu, 10 Jun 2010 11:56:52 +0000 (+0000) Subject: researchers should be researcher X-Git-Tag: sfa-0.9-13~2 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=837bb84732527d2a7aead1cb15bea7c340f4105e;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']]