Skip to content

Commit

Permalink
Use () for default raise_subcls, same as openURL. Ref cherrypy/cherry…
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Oct 18, 2019
1 parent 10e6bd8 commit 6afeb51
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
v8.2.1
======

- :cp-issue:`1818`: Fix default argument to
``WebCase.getPage()``.

v8.2.0
======

Expand Down
2 changes: 1 addition & 1 deletion cheroot/test/webtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def interface(self):

def getPage(
self, url, headers=None, method='GET', body=None,
protocol=None, raise_subcls=None,
protocol=None, raise_subcls=(),
):
"""Open the url with debugging support. Return status, headers, body.
Expand Down

0 comments on commit 6afeb51

Please sign in to comment.