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 7d1331d commit d1e16bfCopy full SHA for d1e16bf
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, basestring):
+ 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