Commit f1ca8c0e authored by Samuel GAIST's avatar Samuel GAIST Committed by Flavio TARSETTI
Browse files

[common] Simplify import of urlparse

parent ee7d2950
......@@ -27,15 +27,11 @@
import os
import shutil
from urllib.parse import urlparse
from django.conf import settings
from django.test import TestCase
try:
from urlparse import urlparse
except ImportError:
from urllib.parse import urlparse
from .models import Shareable
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment