incubator-heraldry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ket...@apache.org
Subject svn commit: r493305 - /incubator/heraldry/libraries/python/openid/trunk/examples/consumer.py
Date Sat, 06 Jan 2007 05:18:30 GMT
Author: keturn
Date: Fri Jan  5 21:18:29 2007
New Revision: 493305

URL: http://svn.apache.org/viewvc?view=rev&rev=493305
Log:
[python-to-heraldry @ examples/consumer: s/openid_url/openid_identifier/ in the input form]

Original author: Kevin Turner <kevin@janrain.com>
Date: 2006-11-27 23:39:42+00:00

Modified:
    incubator/heraldry/libraries/python/openid/trunk/examples/consumer.py

Modified: incubator/heraldry/libraries/python/openid/trunk/examples/consumer.py
URL: http://svn.apache.org/viewvc/incubator/heraldry/libraries/python/openid/trunk/examples/consumer.py?view=diff&rev=493305&r1=493304&r2=493305
==============================================================================
--- incubator/heraldry/libraries/python/openid/trunk/examples/consumer.py (original)
+++ incubator/heraldry/libraries/python/openid/trunk/examples/consumer.py Fri Jan  5 21:18:29
2007
@@ -149,7 +149,7 @@
         """
 
         # First, make sure that the user entered something
-        openid_url = self.query.get('openid_url')
+        openid_url = self.query.get('openid_identifier')
         if not openid_url:
             self.render('Enter an OpenID Identifier to verify.',
                         css_class='error', form_contents=openid_url)
@@ -303,7 +303,7 @@
         """Render a page with a 404 return code and a message."""
         fmt = 'The path <q>%s</q> was not understood by this server.'
         msg = fmt % (self.path,)
-        openid_url = self.query.get('openid_url')
+        openid_url = self.query.get('openid_identifier')
         self.render(msg, 'error', openid_url, status=404)
 
     def render(self, message=None, css_class='alert', form_contents=None,
@@ -393,7 +393,7 @@
     <div id="verify-form">
       <form method="get" action=%s>
         Identifier:
-        <input type="text" name="openid_url" value=%s />
+        <input type="text" name="openid_identifier" value=%s />
         <input type="submit" value="Verify" />
       </form>
     </div>



Mime
View raw message