Skip to content

Commit 5e6cb9c

Browse files
committed
Fix quoting behavior of UrlEncoded.__repr__.
1 parent 426c89b commit 5e6cb9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

splunklib/binding.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def __mod__(self, fields):
163163
"""
164164
raise TypeError("Cannot interpolate into a UrlEncoded object.")
165165
def __repr__(self):
166-
return "UrlEncoded('%s')" % urllib.unquote(self)
166+
return "UrlEncoded(%s)" % repr(urllib.unquote(self))
167167

168168
@contextmanager
169169
def _handle_auth_error(msg):

0 commit comments

Comments
 (0)