Change docker library version check (#2214)
This commit is contained in:
parent
1088c421d2
commit
a6d9cadac3
@ -45,7 +45,7 @@ except ImportError:
|
|||||||
|
|
||||||
_stderr_regex = re.compile(r'START|END|REPORT RequestId: .*')
|
_stderr_regex = re.compile(r'START|END|REPORT RequestId: .*')
|
||||||
_orig_adapter_send = requests.adapters.HTTPAdapter.send
|
_orig_adapter_send = requests.adapters.HTTPAdapter.send
|
||||||
docker_3 = docker.__version__.startswith("3")
|
docker_3 = docker.__version__[0] >= '3'
|
||||||
|
|
||||||
|
|
||||||
def zip2tar(zip_bytes):
|
def zip2tar(zip_bytes):
|
||||||
|
Loading…
Reference in New Issue
Block a user