From 849f66ea2b7dcea078a0d35f6c27a7cac90cb322 Mon Sep 17 00:00:00 2001 From: LeandroJatai Date: Mon, 15 Jul 2024 22:33:22 -0300 Subject: [PATCH] =?UTF-8?q?fix:=20ajuste=20de=20importa=C3=A7=C3=A3o=20lib?= =?UTF-8?q?=20six?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/rules/tests/test_rules.py | 2 +- sapl/utils.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/sapl/rules/tests/test_rules.py b/sapl/rules/tests/test_rules.py index 246ed0ba7..95e609c93 100644 --- a/sapl/rules/tests/test_rules.py +++ b/sapl/rules/tests/test_rules.py @@ -2,9 +2,9 @@ from django.apps import apps from django.conf import settings from django.contrib.auth.models import Permission from django.contrib.contenttypes.models import ContentType -from django.utils import six from django.utils.translation import gettext_lazy as _ import pytest +import six from sapl.base.models import CasaLegislativa from sapl.compilacao.models import (PerfilEstruturalTextoArticulado, diff --git a/sapl/utils.py b/sapl/utils.py index 8197faeb5..e4b3c6c1b 100644 --- a/sapl/utils.py +++ b/sapl/utils.py @@ -33,13 +33,14 @@ from django.db.models.fields.related import ForeignKey from django.forms import BaseForm from django.forms.widgets import SplitDateTimeWidget, ClearableFileInput from django.http.response import JsonResponse, HttpResponse -from django.utils import six, timezone +from django.utils import timezone from django.utils.safestring import mark_safe from django.utils.translation import gettext_lazy as _ import django_filters from easy_thumbnails import source_generators import magic import requests +import six from unipath.path import Path from xlsxwriter.workbook import Workbook