From 828210c3dbcd5d2643417746a07337f85d66e087 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Cantu=C3=A1ria?= Date: Tue, 25 Aug 2020 11:43:36 -0300 Subject: [PATCH] HOT-FIX: Remove string_concat descontinuado --- sapl/crud/base.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sapl/crud/base.py b/sapl/crud/base.py index e77e341bb..61cae4a2a 100644 --- a/sapl/crud/base.py +++ b/sapl/crud/base.py @@ -607,9 +607,7 @@ class CrudListView(PermissionRequiredContainerCrudMixin, ListView): # print(ordering) except Exception as e: - logger.warn( - string_concat(_('ERRO: construção da tupla de ordenação.'), str(e)) - ) + logger.warn(_(f"ERRO: construção da tupla de ordenação. {e}")) # print(queryset.query) if not self.request.user.is_authenticated: