We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d47f9ed commit 709f74eCopy full SHA for 709f74e
etcd3/utils.py
@@ -15,7 +15,10 @@
15
from threading import Lock
16
from requests.exceptions import ChunkedEncodingError, ConnectTimeout
17
from urllib3.exceptions import MaxRetryError
18
-from http.client import IncompleteRead
+try:
19
+ from httplib import IncompleteRead
20
+except ImportError:
21
+ from http.client import IncompleteRead
22
23
try: # pragma: no cover
24
from inspect import getfullargspec as getargspec
0 commit comments