#NEWLINE# def process( args ) : #NEWLINE# #INDENT# fs = abdt_fs . make_default_accessor ( ) #NEWLINE# config = '' #NEWLINE# if args . repo_url_format : #NEWLINE# #INDENT# config = '\n' . join ( [ config , _CONFIG_REPO_URL_FORMAT . format ( repo_url_format = args . repo_url_format ) ] ) #NEWLINE# #UNINDENT# if args . repo_push_url_format : #NEWLINE# #INDENT# config = '\n' . join ( [ config , _CONFIG_REPO_PUSH_URL_FORMAT . format ( repo_push_url_format = args . repo_push_url_format ) ] ) #NEWLINE# #UNINDENT# if args . repo_snoop_url_format : #NEWLINE# #INDENT# config = '\n' . join ( [ config , _CONFIG_REPO_SNOOP_URL_FORMAT . format ( repo_snoop_url_format = args . repo_snoop_url_format ) ] ) #NEWLINE# #UNINDENT# if args . branch_url_format : #NEWLINE# #INDENT# config = '\n' . join ( [ config , _CONFIG_BRANCH_URL_FORMAT . format ( branch_url_format = args . branch_url_format ) ] ) #NEWLINE# #UNINDENT# if args . admin_emails : #NEWLINE# #INDENT# config = '\n' . join ( [ config , _CONFIG_ADMIN_EMAILS_FORMAT . format ( admin_emails = '\n' . join ( args . admin_emails ) ) ] ) #NEWLINE# #UNINDENT# config = config . strip ( ) #NEWLINE# with fs . lockfile_context ( ) : #NEWLINE# #INDENT# fs . create_repohost_config ( args . name , config )