git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix bytes vs str issues in certificate.py
[sfa.git]
/
sfa
/
methods
/
GetGids.py
diff --git
a/sfa/methods/GetGids.py
b/sfa/methods/GetGids.py
index
197e522
..
1e2349f
100644
(file)
--- a/
sfa/methods/GetGids.py
+++ b/
sfa/methods/GetGids.py
@@
-41,7
+41,7
@@
class GetGids(Method):
allowed_fields = ['hrn', 'type', 'gid']
for record in records:
- for key in
record.keys(
):
+ for key in
list(record.keys()
):
if key not in allowed_fields:
del(record[key])
return records