Skip to content

Commit 344ab32

Browse files
committed
Strip HACK from the comment in AuthenticationError.__init__.
1 parent 28cee07 commit 344ab32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

splunklib/binding.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -894,8 +894,8 @@ class AuthenticationError(HTTPError):
894894
this exception is raised.
895895
"""
896896
def __init__(self, message, cause):
897-
# HACK: Put the body back in the response so that HTTPError's
898-
# constructor can read it again.
897+
# Put the body back in the response so that HTTPError's constructor can
898+
# read it again.
899899
cause._response.body = StringIO(cause.body)
900900

901901
HTTPError.__init__(self, cause._response, message)

0 commit comments

Comments
 (0)