pep8 letsencrypt

This commit is contained in:
Jakub Warmuz
2015-09-06 09:20:11 +00:00
parent 89c99a1f34
commit 83185e5553
26 changed files with 59 additions and 48 deletions
+2
View File
@@ -196,6 +196,8 @@ def safely_remove(path):
# start with a period or have two consecutive periods <- this needs to
# be done in addition to the regex
EMAIL_REGEX = re.compile("[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+$")
def safe_email(email):
"""Scrub email address before using it."""
if EMAIL_REGEX.match(email) is not None: