Update docker-py APIError imports

This commit is contained in:
Aanand Prasad 2014-04-23 18:20:27 +01:00
parent 5166b2c1a8
commit 9e1dfcfb37
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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