mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-22 08:21:13 -05:00
Appeased pep8
This commit is contained in:
@@ -82,9 +82,10 @@ def init_app(app):
|
|||||||
|
|
||||||
def email_safe(string):
|
def email_safe(string):
|
||||||
return "".join([
|
return "".join([
|
||||||
character.lower() if character.isalnum() or character == "." else ""
|
character.lower()
|
||||||
for character in re.sub("\s+", ".", string.strip())
|
if character.isalnum() or character == "."
|
||||||
])
|
else "" for character in re.sub("\s+", ".", string.strip())
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
def create_uuid():
|
def create_uuid():
|
||||||
|
|||||||
Reference in New Issue
Block a user