#NEWLINE# def _setup_assets_env( self , ns , log ) : #NEWLINE# #INDENT# env = self . env #NEWLINE# if ( env is None ) : #NEWLINE# #INDENT# assert ( not ( ns . module and ns . config ) ) #NEWLINE# if ns . module : #NEWLINE# #INDENT# env = PythonLoader ( ns . module ) . load_environment ( ) #NEWLINE# #UNINDENT# if ns . config : #NEWLINE# #INDENT# env = YAMLLoader ( ns . config ) . load_environment ( ) #NEWLINE# #UNINDENT# #UNINDENT# return env