Skip to content

Commit

Permalink
Fix composition.exec timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Valsecchi committed May 29, 2017
1 parent 486082b commit db3be1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion c2cwsgiutils/acceptance/composition.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def run(self, container, *command, **kwargs):
'--project-name', self.project_name, 'run', '--rm', container] + list(command),
env=Composition._get_env(), stderr=subprocess.STDOUT, **kwargs)

def exec(self, container, timeout=None, *command, **kwargs):
def exec(self, container, *command, **kwargs):
subprocess.check_call(['docker-compose', '--file', self.composition,
'--project-name', self.project_name, 'exec', '-T', container] + list(command),
env=Composition._get_env(), stderr=subprocess.STDOUT, **kwargs)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from setuptools import setup, find_packages


VERSION = '0.11.3'
VERSION = '0.11.4'
HERE = os.path.abspath(os.path.dirname(__file__))
INSTALL_REQUIRES = open(os.path.join(HERE, 'rel_requirements.txt')).read().splitlines()

Expand Down

0 comments on commit db3be1a

Please sign in to comment.