Skip to content

Commit

Permalink
Remove status_code kwarg missed in previous commits
Browse files Browse the repository at this point in the history
  • Loading branch information
kopf committed Nov 19, 2017
1 parent 2a917a1 commit 90226ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions httsleep/main.py
Expand Up @@ -180,7 +180,7 @@ def meets_condition(response, condition):
return True


def httsleep(url_or_request, until=None, alarms=None, status_code=None,
def httsleep(url_or_request, until=None, alarms=None,
auth=None, headers=None, session=DEFAULT_SESSION, verify=None,
polling_interval=DEFAULT_POLLING_INTERVAL,
max_retries=DEFAULT_MAX_RETRIES,
Expand All @@ -192,7 +192,7 @@ def httsleep(url_or_request, until=None, alarms=None, status_code=None,
:return: :class:`requests.Response` object.
"""
return HttSleeper(
url_or_request, until=until, alarms=alarms, status_code=status_code,
url_or_request, until=until, alarms=alarms,
auth=auth, headers=headers, session=session, verify=verify,
polling_interval=polling_interval,
max_retries=max_retries,
Expand Down

0 comments on commit 90226ca

Please sign in to comment.