Indent string literals

This commit is contained in:
Aanand Prasad 2014-02-26 16:34:45 +00:00
parent d7c714e1c6
commit ff1496a6a5

View File

@ -13,48 +13,48 @@ class UserError(Exception):
class DockerNotFoundMac(UserError): class DockerNotFoundMac(UserError):
def __init__(self): def __init__(self):
super(DockerNotFoundMac, self).__init__(""" super(DockerNotFoundMac, self).__init__("""
Couldn't connect to Docker daemon. You might need to install docker-osx: Couldn't connect to Docker daemon. You might need to install docker-osx:
https://github.com/noplay/docker-osx https://github.com/noplay/docker-osx
""") """)
class DockerNotFoundUbuntu(UserError): class DockerNotFoundUbuntu(UserError):
def __init__(self): def __init__(self):
super(DockerNotFoundUbuntu, self).__init__(""" super(DockerNotFoundUbuntu, self).__init__("""
Couldn't connect to Docker daemon. You might need to install Docker: Couldn't connect to Docker daemon. You might need to install Docker:
http://docs.docker.io/en/latest/installation/ubuntulinux/ http://docs.docker.io/en/latest/installation/ubuntulinux/
""") """)
class DockerNotFoundGeneric(UserError): class DockerNotFoundGeneric(UserError):
def __init__(self): def __init__(self):
super(DockerNotFoundGeneric, self).__init__(""" super(DockerNotFoundGeneric, self).__init__("""
Couldn't connect to Docker daemon. You might need to install Docker: Couldn't connect to Docker daemon. You might need to install Docker:
http://docs.docker.io/en/latest/installation/ http://docs.docker.io/en/latest/installation/
""") """)
class ConnectionErrorDockerOSX(UserError): class ConnectionErrorDockerOSX(UserError):
def __init__(self): def __init__(self):
super(ConnectionErrorDockerOSX, self).__init__(""" super(ConnectionErrorDockerOSX, self).__init__("""
Couldn't connect to Docker daemon - you might need to run `docker-osx shell`. Couldn't connect to Docker daemon - you might need to run `docker-osx shell`.
""") """)
class ConnectionErrorGeneric(UserError): class ConnectionErrorGeneric(UserError):
def __init__(self, url): def __init__(self, url):
super(ConnectionErrorGeneric, self).__init__(""" super(ConnectionErrorGeneric, self).__init__("""
Couldn't connect to Docker daemon at %s - is it running? Couldn't connect to Docker daemon at %s - is it running?
If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable. If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
""" % url) """ % url)
class FigFileNotFound(UserError): class FigFileNotFound(UserError):
def __init__(self, filename): def __init__(self, filename):
super(FigFileNotFound, self).__init__(""" super(FigFileNotFound, self).__init__("""
Can't find %s. Are you in the right directory? Can't find %s. Are you in the right directory?
""" % filename) """ % filename)