#NEWLINE# def read_config_from_app( app ) : #NEWLINE# #INDENT# settings = DEFAULT_SETTINGS . copy ( ) #NEWLINE# if hasattr ( app , 'config' ) : #NEWLINE# #INDENT# settings . update ( settings . config ) #NEWLINE# #UNINDENT# return settings