git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d93c461
)
researchers should be researcher
author
Tony Mack
<tmack@cs.princeton.edu>
Thu, 10 Jun 2010 11:54:42 +0000
(11:54 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Thu, 10 Jun 2010 11:54:42 +0000
(11:54 +0000)
sfa/plc/api.py
patch
|
blob
|
history
diff --git
a/sfa/plc/api.py
b/sfa/plc/api.py
index
f9a3902
..
a75dd33
100644
(file)
--- 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['researcher
s
'] = []
+ record['researcher'] = []
for person_id in record['person_ids']:
hrns = [person['hrn'] for person in persons[person_id]]
- record['researcher
s
'].extend(hrns)
+ record['researcher'].extend(hrns)
# pis at the slice's site
pl_pis = site_pis[record['site_id']]