avoid calling sys.exit on success

pull/229/head
Min RK 2018-02-09 13:52:01 +01:00
rodzic 69db8f0ecb
commit c164ef42b3
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -502,7 +502,8 @@ class Repo2Docker(Application):
container.kill()
exit_code = container.attrs['State']['ExitCode']
container.remove()
sys.exit(exit_code)
if exit_code:
sys.exit(exit_code)
def _get_free_port(self):
"""