changeset 3148:e1fe8dd52b83

pep8-fix openid provider
author Johannes Berg <johannes AT sipsolutions DOT net>
date Thu, 28 Feb 2008 17:56:44 +0100
parents 47b20bf81097
children 6749e003d7e2
files MoinMoin/action/serveopenid.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/serveopenid.py	Thu Feb 28 17:56:11 2008 +0100
+++ b/MoinMoin/action/serveopenid.py	Thu Feb 28 17:56:44 2008 +0100
@@ -192,7 +192,7 @@
 
         server_url = request.getQualifiedURL(
                          request.page.url(request,
-                                          querystr={'action':'serveopenid'},
+                                          querystr={'action': 'serveopenid'},
                                           relative=False))
 
         yadis_type = form.get('yadis', [None])[0]
@@ -302,7 +302,7 @@
         reply = openidreq.answer(True, identity=identity, server_url=server_url)
         if data:
             # TODO
-            sreg_data = { }
+            sreg_data = {}
             sreq_req = sreg.SRegRequest.fromOpenIDRequest(openidreq.message)
             sreg_resp = sreg.SRegResponse.extractResponse(openidreq, sreg_data)
             sreg_resp.addToOpenIDResponse(reply.fields)