Browse Source

fix var usage in is_dict_subset

master
poikilos 9 years ago
committed by Jacob Gustafson
parent
commit
285e2f3548
  1. 4
      chunkymap-regen.py

4
chunkymap-regen.py

@ -74,8 +74,8 @@ def is_dict_subset(new_dict, old_dict, verbose_messages_enable, verbose_dest_des
try: try:
if old_dict is not None: if old_dict is not None:
if new_dict is not None: if new_dict is not None:
old_dict_keys = self.old_dict.keys() old_dict_keys = old_dict.keys()
for this_key in self.new_dict.iterkeys(): for this_key in new_dict.iterkeys():
if (this_key not in old_dict_keys): if (this_key not in old_dict_keys):
is_changed = True is_changed = True
if verbose_messages_enable: if verbose_messages_enable:

Loading…
Cancel
Save