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 28cee07 commit 344ab32Copy full SHA for 344ab32
splunklib/binding.py
@@ -894,8 +894,8 @@ class AuthenticationError(HTTPError):
894
this exception is raised.
895
"""
896
def __init__(self, message, cause):
897
- # HACK: Put the body back in the response so that HTTPError's
898
- # constructor can read it again.
+ # Put the body back in the response so that HTTPError's constructor can
+ # read it again.
899
cause._response.body = StringIO(cause.body)
900
901
HTTPError.__init__(self, cause._response, message)
0 commit comments