Skip to content
This repository was archived by the owner on Jan 7, 2021. It is now read-only.

Commit 52a4abd

Browse files
committed
Error fix?
1 parent c14f3da commit 52a4abd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

documentcloud/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def _make_request(self, url, params=None, opener=None):
7070
# Make the request
7171
try:
7272
response = request_method(request)
73-
except urllib.error.HTTPError as e:
73+
except urllib.error.HTTPError, e:
7474
if e.code == 404:
7575
raise DoesNotExistError("The resource you've requested does \
7676
not exist or is unavailable without the proper credentials.")

0 commit comments

Comments
 (0)