#NEWLINE# def init_app( self , app , env_file = None , verbose_mode = False ) : #NEWLINE# #INDENT# if ( self . app is None ) : #NEWLINE# #INDENT# self . app = app #NEWLINE# #UNINDENT# self . verbose_mode = verbose_mode #NEWLINE# if ( env_file is None ) : #NEWLINE# #INDENT# env_file = os . path . join ( os . getcwd ( ) , '.env' ) #NEWLINE# #UNINDENT# if ( not os . path . exists ( env_file ) ) : #NEWLINE# #INDENT# warnings . warn ( "can't read {0} - it doesn't exist" . format ( env_file ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . __import_vars ( env_file )