##// END OF EJS Templates
flake8: fix E202 whitespace before ')'
Mads Kiilerich -
r7725:e7683417 default
parent child Browse files
Show More
@@ -917,7 +917,7 b' def gravatar_url(email_address, size=30,'
917 return default
917 return default
918
918
919 parsed_url = urlparse.urlparse(url.current(qualified=True))
919 parsed_url = urlparse.urlparse(url.current(qualified=True))
920 url = (c.visual.gravatar_url or User.DEFAULT_GRAVATAR_URL ) \
920 url = (c.visual.gravatar_url or User.DEFAULT_GRAVATAR_URL) \
921 .replace('{email}', email_address) \
921 .replace('{email}', email_address) \
922 .replace('{md5email}', hashlib.md5(safe_str(email_address).lower()).hexdigest()) \
922 .replace('{md5email}', hashlib.md5(safe_str(email_address).lower()).hexdigest()) \
923 .replace('{netloc}', parsed_url.netloc) \
923 .replace('{netloc}', parsed_url.netloc) \
General Comments 0
You need to be logged in to leave comments. Login now