From cb22af6cb29ffc23b556cb5217b47996f0de204b Mon Sep 17 00:00:00 2001 From: Nicolas ROCHE Date: Mon, 9 Mar 2020 17:37:01 +0100 Subject: [PATCH] python3: import urlparse from six (#40570) --- bijoe/hobo_agent/management/commands/hobo_deploy.py | 2 +- bijoe/visualization/signature.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bijoe/hobo_agent/management/commands/hobo_deploy.py b/bijoe/hobo_agent/management/commands/hobo_deploy.py index 6deb9ab..c4f0c10 100644 --- a/bijoe/hobo_agent/management/commands/hobo_deploy.py +++ b/bijoe/hobo_agent/management/commands/hobo_deploy.py @@ -15,9 +15,9 @@ # along with this program. If not, see . import os -import urlparse from django.utils.six.moves import configparser as ConfigParser +from django.utils.six.moves.urllib import parse as urlparse from tenant_schemas.utils import tenant_context from hobo.agent.common.management.commands import hobo_deploy diff --git a/bijoe/visualization/signature.py b/bijoe/visualization/signature.py index 688fb63..659ee8f 100644 --- a/bijoe/visualization/signature.py +++ b/bijoe/visualization/signature.py @@ -20,9 +20,10 @@ import hmac import hashlib import urllib import random -import urlparse import logging +from django.utils.six.moves.urllib import parse as urlparse + '''Simple signature scheme for query strings''' # from http://repos.entrouvert.org/portail-citoyen.git/tree/portail_citoyen/apps/data_source_plugin/signature.py