Import urlparse from six.moves to work on both Python 2 and 3.

This commit is contained in:
Berker Peksag 2015-06-05 19:45:00 +03:00
parent 853b74cd81
commit bf6ae3816f

View File

@ -15,10 +15,12 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import logging
import urlparse
import six
from six.moves.urllib.parse import urlparse
from werkzeug.routing import Map, Rule
from mediagoblin.tools.common import import_component