From 933e799a54932e6f94e5a1d58fc6d2da852c11f1 Mon Sep 17 00:00:00 2001 From: Fabio Caccamo Date: Mon, 3 Feb 2020 12:07:52 +0100 Subject: [PATCH] Removed unused variable. --- benedict/utils/dict_util.py | 1 - 1 file changed, 1 deletion(-) diff --git a/benedict/utils/dict_util.py b/benedict/utils/dict_util.py index 40dd0eb..a1c5290 100644 --- a/benedict/utils/dict_util.py +++ b/benedict/utils/dict_util.py @@ -206,7 +206,6 @@ def traverse(d, callback): def unflatten(d, separator='_'): new_dict = d.copy() new_dict.clear() - new_dict_cursor = new_dict keys = list(d.keys()) for key in keys: value = d.get(key, None)