#NEWLINE# def del_all_templates( srv ) : #NEWLINE# #INDENT# templates = srv . get_server_profile_templates ( ) #NEWLINE# for template in templates : #NEWLINE# #INDENT# print ( ( 'Removing Profile Template %s' % srv [ 'name' ] ) ) #NEWLINE# ret = srv . remove_server_profile_template ( template ) #NEWLINE# output_progress ( ret [ 'progressUpdates' ] )