updated dockerfile, spacing adjustments
This commit is contained in:
parent
b757ceff57
commit
6c7095ec5a
14 changed files with 36 additions and 16 deletions
|
@ -97,6 +97,7 @@ def to_canonical(s):
|
|||
s = s.lower()
|
||||
return s
|
||||
|
||||
|
||||
def cname_to_filename(cname):
|
||||
""" Convert canonical name to filename
|
||||
|
||||
|
@ -117,6 +118,7 @@ def filename_to_cname(filename):
|
|||
"""
|
||||
return os.path.splitext(filename)[0]
|
||||
|
||||
|
||||
def gravatar_url(email):
|
||||
return "//www.gravatar.com/avatar/" + hashlib.md5(email).hexdigest()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue