#NEWLINE# def provision_node( conference , message , node , user ) : #NEWLINE# #INDENT# '\n    :param Conference conference:\n    :param ConferenceMessage message:\n    :param Node node:\n    :param User user:\n    ' #NEWLINE# auth = Auth ( user = user ) #NEWLINE# node . update_node_wiki ( 'home' , message . text , auth ) #NEWLINE# node . add_contributors ( prepare_contributors ( conference . admins ) , log = False ) #NEWLINE# if ( ( not auth . is_spam ) and conference . public_projects ) : #NEWLINE# #INDENT# node . set_privacy ( 'public' , meeting_creation = True , auth = auth ) #NEWLINE# #UNINDENT# node . add_tag ( message . conference_name , auth = auth ) #NEWLINE# node . add_tag ( message . conference_category , auth = auth ) #NEWLINE# node . system_tags . extend ( [ 'emailed' , message . conference_name , message . conference_category ] ) #NEWLINE# if message . is_spam : #NEWLINE# #INDENT# node . system_tags . append ( 'spam' ) #NEWLINE# #UNINDENT# node . save ( )