Merge "Don't alter dict keys in OSSA list iteration"
This commit is contained in:
commit
b0a7065e03
@ -13,7 +13,7 @@ LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def to_snake_case(d):
|
||||
for k in d:
|
||||
for k in dict(d):
|
||||
v = d[k]
|
||||
del d[k]
|
||||
d[k.replace('-', '_')] = v
|
||||
|
Loading…
Reference in New Issue
Block a user