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 trunk
[plcapi.git]
/
PLC
/
Methods
/
GetPersons.py
diff --git
a/PLC/Methods/GetPersons.py
b/PLC/Methods/GetPersons.py
index
a483dd4
..
5228933
100644
(file)
--- a/
PLC/Methods/GetPersons.py
+++ b/
PLC/Methods/GetPersons.py
@@
-81,6
+81,7
@@
class GetPersons(Method):
if added_fields:
for person in persons:
for field in added_fields:
- del person[field]
+ if field in person:
+ del person[field]
return persons