#NEWLINE# def __init__( self , app_title , app_banner , theme , services_service ) : #NEWLINE# #INDENT# self . oauth_modules = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . _error_message = '' #NEWLINE# self . services_service = services_service #NEWLINE# self . app_title = app_title #NEWLINE# self . app_banner = app_banner #NEWLINE# self . theme = theme #NEWLINE# self . content = component . Component ( ) #NEWLINE# for ( source , cfg ) in self . config . iteritems ( ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# if ( cfg [ 'activated' ] == 'on' ) : #NEWLINE# #INDENT# self . oauth_modules [ source ] = component . Component ( OAuthConnection ( oauth_providers . providers [ source ] ( cfg [ 'key' ] , cfg [ 'secret' ] , SCOPES . get ( source , ( 'profile' , 'email' ) ) ) ) ) #NEWLINE# #UNINDENT# #UNINDENT# except TypeError : #NEWLINE# #INDENT# continue