kopia lustrzana https://github.com/jupyterhub/repo2docker
Break properly when no builders are found
rodzic
43a5848a3c
commit
b4215161fb
|
@ -292,9 +292,10 @@ class Repo2Docker(Application):
|
|||
self.log.info(l['error'], extra=dict(phase='failure'))
|
||||
sys.exit(1)
|
||||
else:
|
||||
self.log.info(json.dumps(l), extra=dict(phase='failure'))
|
||||
sys.exit(1)
|
||||
self.log.info(json.dumps(l), extra=dict(phase='building'))
|
||||
break
|
||||
else:
|
||||
raise Exception("No builder found!")
|
||||
|
||||
if self.cleanup_checkout:
|
||||
shutil.rmtree(checkout_path)
|
||||
|
|
Ładowanie…
Reference in New Issue