]> git.openstreetmap.org Git - osqa.git/blobdiff - forum_modules/openidauth/consumer.py
The open id experiments where commited by mistake, and now they were causing errors.
[osqa.git] / forum_modules / openidauth / consumer.py
index e9cf21164930287e7bc9e98272f177d8029137a7..1702390a754e38e4d05e3b6ebcaeebbad533a830 100644 (file)
@@ -87,8 +87,8 @@ class OpenIdAbstractAuthConsumer(AuthenticationConsumer):
             (k.encode('utf8'), v.encode('utf8')) for k, v in request.GET.items()
         ])
 
-        for i in query_dict.items():
-            print "%s : %s" % i
+        #for i in query_dict.items():
+            #print "%s : %s" % i
 
         url = get_url_host(request) + request.path
         openid_response = consumer.complete(query_dict, url)
@@ -107,11 +107,11 @@ class OpenIdAbstractAuthConsumer(AuthenticationConsumer):
                         for n, s in axargs.items() if s in ax_schema2data_type
                     ])
 
-                    available_data = dict([
-                        (t, axargs["value.%s.1" % s]) for t, s in available_types.items()
-                    ])
+                    #available_data = dict([
+                    #    (t, axargs["value.%s.1" % s]) for t, s in available_types.items()
+                    #])
 
-                    print available_data
+                    #print available_data
                     
 
                     #email = ax.getExtensionArgs()['value.ext0.1']