git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- merge from PlanetLab Europe
[plcapi.git]
/
PLC
/
Methods
/
GetPersons.py
diff --git
a/PLC/Methods/GetPersons.py
b/PLC/Methods/GetPersons.py
index
e48db7b
..
a483dd4
100644
(file)
--- a/
PLC/Methods/GetPersons.py
+++ b/
PLC/Methods/GetPersons.py
@@
-27,6
+27,8
@@
class GetPersons(Method):
Auth(),
Mixed([Mixed(Person.fields['person_id'],
Person.fields['email'])],
+ Parameter(str,"email"),
+ Parameter(int,"person_id"),
Filter(Person.fields)),
Parameter([str], "List of fields to return", nullok = True)
]