#NEWLINE# def add_workspace_to_persistent_json( owner , name , url , path ) : #NEWLINE# #INDENT# d = get_persistent_data ( ) #NEWLINE# workspaces = d [ 'workspaces' ] #NEWLINE# if ( owner not in workspaces ) : #NEWLINE# #INDENT# workspaces [ owner ] = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# #UNINDENT# workspaces [ owner ] [ name ] = { #NEWLINE# #INDENT# 'url' : url , #NEWLINE# 'path' : path , #NEWLINE# #UNINDENT# } #NEWLINE# update_persistent_data ( owner )