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.
2 parents 85f1a90 + d1e16bf commit 4791e94Copy full SHA for 4791e94
splunklib/data.py
@@ -112,7 +112,7 @@ def load_elem(element, nametable=None):
112
if attrs is None: return name, value
113
if value is None: return name, attrs
114
# If value is simple, merge into attrs dict using special key
115
- if isinstance(value, str):
+ if isinstance(value, six.string_types):
116
attrs["$text"] = value
117
return name, attrs
118
# Both attrs & value are complex, so merge the two dicts, resolving collisions.
0 commit comments