[Python-checkins] r88971 - tracker/instances/python-dev/extensions/openid_login.py
martin.v.loewis
python-checkins at python.org
Wed May 30 19:38:28 CEST 2012
Author: martin.v.loewis
Date: Wed May 30 19:38:28 2012
New Revision: 88971
Log:
Drop duplicate get_session call.
Modified:
tracker/instances/python-dev/extensions/openid_login.py
Modified: tracker/instances/python-dev/extensions/openid_login.py
==============================================================================
--- tracker/instances/python-dev/extensions/openid_login.py (original)
+++ tracker/instances/python-dev/extensions/openid_login.py Wed May 30 19:38:28 2012
@@ -166,11 +166,6 @@
return
services, op_endpoint, op_local = result
session = self.get_session(op_endpoint, services)
- try:
- session = self.get_session(op_endpoint, services)
- except NoCertificate:
- self.client.error_message.append(self._('Peer did not return certificate'))
- return
realm = self.base+"?@action=openid_return"
return_to = realm + "&__came_from=%s" % urllib.quote(self.client.path)
url = openid2rp.request_authentication(services, op_endpoint,
More information about the Python-checkins
mailing list