#NEWLINE# def xcspec_resolver( dictionary ) : #NEWLINE# #INDENT# global XCSPEC_TYPE_RESOLVER #NEWLINE# if ( dictionary [ 'Type' ] in XCSPEC_TYPE_RESOLVER . keys ( ) ) : #NEWLINE# #INDENT# return ( True , XCSPEC_TYPE_RESOLVER [ XCSPEC_TYPE_RESOLVER [ 'Type' ] ] ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# logging_helper . getLogger ( ) . warning ( ( '[xcspec_resolver]: UNKNOWN "%s" TYPE!' % dictionary [ 'Type' ] ) ) #NEWLINE# #UNINDENT# return ( False , None )