Skip to content

Commit

Permalink
Use consistent whitespace in containers lib classes
Browse files Browse the repository at this point in the history
  • Loading branch information
natefoo committed Apr 6, 2018
1 parent 559fb9d commit 9db3d23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/galaxy/containers/__init__.py
Expand Up @@ -46,6 +46,7 @@ class ContainerPort(namedtuple('ContainerPort', ('port', 'protocol', 'hostaddr',


class ContainerVolume(with_metaclass(ABCMeta, object)):

valid_modes = frozenset(["ro", "rw"])

def __init__(self, path, host_path=None, mode=None):
Expand Down Expand Up @@ -140,6 +141,7 @@ def is_ready(self):


class ContainerInterface(with_metaclass(ABCMeta, object)):

container_type = None
container_class = None
volume_class = None
Expand Down
1 change: 1 addition & 0 deletions lib/galaxy/containers/docker.py
Expand Up @@ -37,6 +37,7 @@


class DockerInterface(ContainerInterface):

container_class = DockerContainer
volume_class = DockerVolume
conf_defaults = {
Expand Down

0 comments on commit 9db3d23

Please sign in to comment.