fix docker_volume import error when docker Python package is missing

pull/4420/head
Matt Davis 2017-07-19 12:33:57 -07:00
parent 1289322147
commit 96a0bdeac5
1 changed files with 3 additions and 0 deletions

View File

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