We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec1a295 commit 49ddaa1Copy full SHA for 49ddaa1
1 file changed
rootfs/api/utils.py
@@ -110,14 +110,6 @@ def fingerprint(key):
110
return ':'.join(a + b for a, b in zip(fp_plain[::2], fp_plain[1::2]))
111
112
113
-def encode(obj):
114
- """Return UTF-8 encoding for string objects."""
115
- if isinstance(obj, basestring):
116
- return obj.encode('utf-8')
117
- else:
118
- return obj
119
-
120
121
def dict_merge(origin, merge):
122
"""
123
Recursively merges dict's. not just simple a["key"] = b["key"], if
0 commit comments