Skip to content

Commit

Permalink
python 2 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
dariko committed Mar 2, 2019
1 parent d47f9ed commit 709f74e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion etcd3/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@
from threading import Lock
from requests.exceptions import ChunkedEncodingError, ConnectTimeout
from urllib3.exceptions import MaxRetryError
from http.client import IncompleteRead
try:
from httplib import IncompleteRead
except ImportError:
from http.client import IncompleteRead

try: # pragma: no cover
from inspect import getfullargspec as getargspec
Expand Down

0 comments on commit 709f74e

Please sign in to comment.