def showDecidePage(request, openid_request):
 trust_root = openid_request.trust_root
 return_to = openid_request.return_to
 try:
  trust_root_valid = ((verifyReturnTo(trust_root, return_to) and 'Valid') or 'Invalid')
 except DiscoveryFailure as err:
  trust_root_valid = 'DISCOVERY_FAILED'
 except HTTPFetchingError as err:
  trust_root_valid = 'Unreachable'
 pape_request = pape.Request.fromOpenIDRequest(openid_request)
 return direct_to_template(request, 'server/trust.html', {'trust_root': trust_root, 'trust_handler_url': getViewURL(request, processTrustResult), 'trust_root_valid': trust_root_valid, 'pape_request': pape_request})

def showDecidePage ( request , openid_request ) : trust_root = openid_request . trust_root return_to = openid_request . return_to try : trust_root_valid = ( ( verifyReturnTo ( trust_root , return_to ) and 'Valid' ) or 'Invalid' ) except DiscoveryFailure as err : trust_root_valid = 'DISCOVERY_FAILED' except HTTPFetchingError as err : trust_root_valid = 'Unreachable' pape_request = pape . Request . fromOpenIDRequest ( openid_request ) return direct_to_template ( request , 'server/trust.html' , { 'trust_root' : trust_root , 'trust_handler_url' : getViewURL ( request , processTrustResult ) , 'trust_root_valid' : trust_root_valid , 'pape_request' : pape_request } )
render a page to the user so a trust decision can be made .