kopia lustrzana https://github.com/jupyterhub/repo2docker
avoid calling sys.exit on success
rodzic
69db8f0ecb
commit
c164ef42b3
|
@ -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):
|
||||
"""
|
||||
|
|
Ładowanie…
Reference in New Issue