Getting rid of unneeded variables

This commit is contained in:
Nate Hardison
2012-08-29 15:28:44 -04:00
parent cb67af5959
commit c97db851fb

View File

@@ -342,10 +342,6 @@ def validate_trust_root(openid_request):
Only allow OpenID requests from valid trust roots
"""
# verify the trust root/return to
trust_root = openid_request.trust_root
return_to = openid_request.return_to # TODO: [rocha] never used?
# don't allow empty trust roots
if openid_request.trust_root is None:
return False