[Python-checkins] r77605 - tracker/instances/python-dev/lib/openid.py

martin.v.loewis python-checkins at python.org
Tue Jan 19 03:40:12 CET 2010


Author: martin.v.loewis
Date: Tue Jan 19 03:40:11 2010
New Revision: 77605

Log:
Unwrap openid.server href.


Modified:
   tracker/instances/python-dev/lib/openid.py

Modified: tracker/instances/python-dev/lib/openid.py
==============================================================================
--- tracker/instances/python-dev/lib/openid.py	(original)
+++ tracker/instances/python-dev/lib/openid.py	Tue Jan 19 03:40:11 2010
@@ -202,6 +202,7 @@
         # 14.2.1: 1.1 compatibility
         op_endpoint = soup.find('link', {'rel':lambda v:v and 'openid.server' in v.lower()})
         if op_endpoint:
+            op_endpoint = op_endpoint['href']
             op_local = soup.find('link', {'rel':lambda v:v and 'openid.delegate' in v.lower()})
             if op_local:
                 op_local = op_local['href']


More information about the Python-checkins mailing list