By default project auto close when you exit client

pull/638/head
Julien Duponchelle 8 years ago
parent 9694850465
commit a4023c0298
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

@ -79,7 +79,7 @@ def import_project(controller, project_id, stream, location=None, name=None, kee
# To avoid unexpected behavior (project start without manual operations just after import)
topology["auto_start"] = False
topology["auto_open"] = False
topology["auto_close"] = False
topology["auto_close"] = True
# Modify the compute id of the node depending of compute capacity
if not keep_compute_id:

@ -62,7 +62,7 @@ class Project:
:param status: Status of the project (opened / closed)
"""
def __init__(self, name=None, project_id=None, path=None, controller=None, status="opened", filename=None, auto_start=False, auto_open=False, auto_close=False):
def __init__(self, name=None, project_id=None, path=None, controller=None, status="opened", filename=None, auto_start=False, auto_open=False, auto_close=True):
self._controller = controller
assert name is not None

Loading…
Cancel
Save