From 285e2f35482fda0f217b0eb28d35b79adf4207ef Mon Sep 17 00:00:00 2001 From: poikilos <7557867+poikilos@users.noreply.github.com> Date: Wed, 9 Mar 2016 15:01:23 -0500 Subject: [PATCH] fix var usage in is_dict_subset --- chunkymap-regen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chunkymap-regen.py b/chunkymap-regen.py index 2965702..51b5da4 100644 --- a/chunkymap-regen.py +++ b/chunkymap-regen.py @@ -74,8 +74,8 @@ def is_dict_subset(new_dict, old_dict, verbose_messages_enable, verbose_dest_des try: if old_dict is not None: if new_dict is not None: - old_dict_keys = self.old_dict.keys() - for this_key in self.new_dict.iterkeys(): + old_dict_keys = old_dict.keys() + for this_key in new_dict.iterkeys(): if (this_key not in old_dict_keys): is_changed = True if verbose_messages_enable: