Skip to content

Commit 38a44d9

Browse files
committed
PR: Fix build.
1 parent af61fac commit 38a44d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

google_auth_httplib2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
# httplib became http.client in 3.x
2626
try:
2727
from http.client import HTTPException
28-
except ImportError:
28+
except ImportError: # pragma: no cover
2929
from httplib import HTTPException
3030

3131
_LOGGER = logging.getLogger(__name__)
@@ -120,7 +120,7 @@ def __call__(self, url, method='GET', body=None, headers=None,
120120
response, data = self.http.request(
121121
url, method=method, body=body, headers=headers, **kwargs)
122122
return _Response(response, data)
123-
# TODO: httplib2 should catch the lower http error, this is a bug and
123+
# httplib2 should catch the lower http error, this is a bug and
124124
# needs to be fixed there. Catch the error for the meanwhile.
125125
except (httplib2.HttpLib2Error, HTTPException) as exc:
126126
raise exceptions.TransportError(exc)

0 commit comments

Comments
 (0)