python 3 support, keys should be list if we want to iterate and delete
svn: r20786
This commit is contained in:
parent
f90198e0c2
commit
aa5e2f0847
@ -455,7 +455,7 @@ class MonitoredDataType(object):
|
|||||||
|
|
||||||
map = get_val().get_map().copy()
|
map = get_val().get_map().copy()
|
||||||
if ignore_values :
|
if ignore_values :
|
||||||
for key in map.keys():
|
for key in list(map.keys()):
|
||||||
if key in ignore_values and key not in (None, default):
|
if key in ignore_values and key not in (None, default):
|
||||||
del map[key]
|
del map[key]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user