mirror of https://github.com/docker/compose.git
Update docker-py APIError imports
This commit is contained in:
parent
5166b2c1a8
commit
9e1dfcfb37
|
@ -15,7 +15,7 @@ from .formatter import Formatter
|
||||||
from .log_printer import LogPrinter
|
from .log_printer import LogPrinter
|
||||||
from .utils import yesno
|
from .utils import yesno
|
||||||
|
|
||||||
from ..packages.docker.client import APIError
|
from ..packages.docker.errors import APIError
|
||||||
from .errors import UserError
|
from .errors import UserError
|
||||||
from .docopt_command import NoSuchCommand
|
from .docopt_command import NoSuchCommand
|
||||||
from .socketclient import SocketClient
|
from .socketclient import SocketClient
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
from __future__ import absolute_import
|
from __future__ import absolute_import
|
||||||
from .packages.docker.client import APIError
|
from .packages.docker.errors import APIError
|
||||||
import logging
|
import logging
|
||||||
import re
|
import re
|
||||||
import os
|
import os
|
||||||
|
|
|
@ -2,7 +2,7 @@ from __future__ import unicode_literals
|
||||||
from __future__ import absolute_import
|
from __future__ import absolute_import
|
||||||
from fig import Service
|
from fig import Service
|
||||||
from fig.service import CannotBeScaledError, ConfigError
|
from fig.service import CannotBeScaledError, ConfigError
|
||||||
from fig.packages.docker.client import APIError
|
from fig.packages.docker.errors import APIError
|
||||||
from .testcases import DockerClientTestCase
|
from .testcases import DockerClientTestCase
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue