diff --git a/src/postorius/forms.py b/src/postorius/forms.py index 04d8b40..7c6fb45 100644 --- a/src/postorius/forms.py +++ b/src/postorius/forms.py @@ -23,12 +23,6 @@ from django.contrib.auth.models import User from postorius.fieldset_forms import FieldsetForm -from postorius import utils - -try: - from urllib2 import HTTPError -except ImportError: - from urllib.error import HTTPError ACTION_CHOICES = ( diff --git a/src/postorius/views/user.py b/src/postorius/views/user.py index bafd778..77d35dc 100644 --- a/src/postorius/views/user.py +++ b/src/postorius/views/user.py @@ -320,8 +320,8 @@ except Mailman404Error: mailman_user = MailmanUser.objects.create( request.user.email, '') - # If the adress already exists, it's an import artefact: it's been - # validated by email, so it's safe to merge. + # If the adress already exists, it's an import artefact: it's + # been validated by email, so it's safe to merge. mm_address = mailman_user.add_address( profile.email, absorb_existing=True) # The address has just been verified.