We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26d6f8b commit 646d00aCopy full SHA for 646d00a
benedict/utils/dict_util.py
@@ -2,7 +2,6 @@
2
3
from benedict.utils import keylist_util, type_util
4
5
-from six import string_types, text_type
6
from slugify import slugify
7
8
import copy
@@ -95,7 +94,7 @@ def f(parent, parent_keys):
95
94
kp = []
96
for key, value in parent.items():
97
keys = parent_keys + [key]
98
- kp += [separator.join(text_type(k) for k in keys)]
+ kp += [separator.join('{}'.format(k) for k in keys)]
99
if type_util.is_dict(value):
100
kp += f(value, keys)
101
return kp
0 commit comments