Skip to content
Snippets Groups Projects
Commit 8568f248 authored by Flavio TARSETTI's avatar Flavio TARSETTI
Browse files

[accounts][views] remove compatibility code for Python 2

parent 7a55f117
No related branches found
No related tags found
1 merge request!328Improve automatic emails with temporary urls
Pipeline #39854 passed
......@@ -56,10 +56,7 @@ from ..common.responses import BadRequestResponse, ForbiddenResponse
from datetime import datetime, timedelta
import datetime
try:
from urlparse import urlparse
except ImportError:
from urllib.parse import urlparse
from urllib.parse import urlparse
@login_required
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment