From 909cb3f650d5808c6b18b9adf7a6fe5d72ec27de Mon Sep 17 00:00:00 2001 From: Nicolas ROCHE Date: Mon, 9 Mar 2020 17:33:26 +0100 Subject: [PATCH] python3: import ConfigParser from six (#40570) --- bijoe/hobo_agent/management/commands/hobo_deploy.py | 3 ++- tests/test_hobo_deploy.py | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/bijoe/hobo_agent/management/commands/hobo_deploy.py b/bijoe/hobo_agent/management/commands/hobo_deploy.py index 285605d..6deb9ab 100644 --- a/bijoe/hobo_agent/management/commands/hobo_deploy.py +++ b/bijoe/hobo_agent/management/commands/hobo_deploy.py @@ -16,7 +16,8 @@ import os import urlparse -import ConfigParser + +from django.utils.six.moves import configparser as ConfigParser from tenant_schemas.utils import tenant_context from hobo.agent.common.management.commands import hobo_deploy diff --git a/tests/test_hobo_deploy.py b/tests/test_hobo_deploy.py index c661541..b38c5b4 100644 --- a/tests/test_hobo_deploy.py +++ b/tests/test_hobo_deploy.py @@ -15,10 +15,10 @@ # along with this program. If not, see . from contextlib import contextmanager -import ConfigParser - from psycopg2.extensions import parse_dsn +from django.utils.six.moves import configparser as ConfigParser + from bijoe.hobo_agent.management.commands import hobo_deploy