projects
/
osm
/
NBI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixing iteration for role content
[osm/NBI.git]
/
osm_nbi
/
admin_topics.py
diff --git
a/osm_nbi/admin_topics.py
b/osm_nbi/admin_topics.py
index
d6112e1
..
a737301
100644
(file)
--- a/
osm_nbi/admin_topics.py
+++ b/
osm_nbi/admin_topics.py
@@
-865,10
+865,11
@@
class RoleTopicAuth(BaseTopic):
content[":"] = False
ignore_fields = ["_id", "_admin", "name"]
content[":"] = False
ignore_fields = ["_id", "_admin", "name"]
- for role_def, value in content.items():
+ content_keys = content.keys()
+ for role_def in content_keys:
if role_def in ignore_fields:
continue
if role_def in ignore_fields:
continue
- content[role_def.replace(".", ":")] =
value
+ content[role_def.replace(".", ":")] =
content[role_def]
del content[role_def]
@staticmethod
del content[role_def]
@staticmethod