Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
beat
beat.web
Commits
8568f248
Commit
8568f248
authored
May 13, 2020
by
Flavio TARSETTI
Browse files
[accounts][views] remove compatibility code for Python 2
parent
7a55f117
Pipeline
#39854
passed with stage
in 14 minutes and 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
beat/web/accounts/views.py
View file @
8568f248
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment