fix docker_volume import error when docker Python package is missing
This commit is contained in:
parent
1289322147
commit
96a0bdeac5
1 changed files with 3 additions and 0 deletions
|
@ -90,6 +90,9 @@ if not HAS_DOCKER_PY:
|
|||
def __init__(self, **kwargs):
|
||||
pass
|
||||
|
||||
class APIError:
|
||||
def __init__(self, **kwargs):
|
||||
pass
|
||||
|
||||
class DockerBaseClass(object):
|
||||
|
||||
|
|
Loading…
Reference in a new issue