mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 09:26:08 -05:00
pep8 fixed
This commit is contained in:
@@ -94,10 +94,8 @@ def init_app(app):
|
|||||||
|
|
||||||
def email_safe(string):
|
def email_safe(string):
|
||||||
return "".join([
|
return "".join([
|
||||||
character.lower()
|
character.lower() if character.isalnum() or character == "." else "" for character in re.sub("\s+", ".", string.strip()) # noqa
|
||||||
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