#NEWLINE# def _replace_root_uuid( path , root_uuid ) : #NEWLINE# #INDENT# root = ( 'UUID=%s' % root_uuid ) #NEWLINE# pattern = '(\\(\\(|\\{\\{) ROOT (\\)\\)|\\}\\})' #NEWLINE# _replace_lines_in_file ( path , pattern , root_uuid )