python 3 support, keys should be list if we want to iterate and delete

svn: r20786
This commit is contained in:
Benny Malengier 2012-12-18 10:49:09 +00:00
parent f90198e0c2
commit aa5e2f0847

View File

@ -455,7 +455,7 @@ class MonitoredDataType(object):
map = get_val().get_map().copy()
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):
del map[key]