fix docker_volume import error when docker Python package is missing

This commit is contained in:
Matt Davis 2017-07-19 12:33:57 -07:00
parent 1289322147
commit 96a0bdeac5

View file

@ -90,6 +90,9 @@ if not HAS_DOCKER_PY:
def __init__(self, **kwargs): def __init__(self, **kwargs):
pass pass
class APIError:
def __init__(self, **kwargs):
pass
class DockerBaseClass(object): class DockerBaseClass(object):