Skip to content

Commit

Permalink
Better Yadis naming
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Mar 21, 2020
1 parent 66fdfa2 commit 1d55292
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api_openid/src/api_openid/parser.py
Expand Up @@ -41,12 +41,12 @@

class YadisHTMLParser(colony.legacy.HTMLParser.HTMLParser):
"""
The yadis HTML parser, used to retrieve the yadis
The Yadis HTML parser, used to retrieve the Yadis
provider URL from the HTML code.
"""

yadis_provider_url = None
""" The yadis provider URL """
""" The Yadis provider URL """

def handle_starttag(self, tag, attributes):
"""
Expand All @@ -66,5 +66,5 @@ def handle_starttag(self, tag, attributes):
# checks if the HTTP equiv reference exists
# and is valid
if attributes_map.get("http-equiv", None).lower() == "x-xrds-location":
# sets the yadis provider URL
# sets the Yadis provider URL
self.yadis_provider_url = attributes_map.get("content", None)

0 comments on commit 1d55292

Please sign in to comment.