From 3936d0e4e8d81011cfb078b389ecdb85b493ae68 Mon Sep 17 00:00:00 2001 From: Nicolas ROCHE Date: Fri, 13 Mar 2020 09:58:07 +0100 Subject: [PATCH] python3: python3: replace itervalues by values method (#40570) --- bijoe/visualization/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bijoe/visualization/views.py b/bijoe/visualization/views.py index d34dfa2..d96e8b7 100644 --- a/bijoe/visualization/views.py +++ b/bijoe/visualization/views.py @@ -234,8 +234,8 @@ class VisualizationsJSONView(MultipleObjectMixin, View): known_services = getattr(settings, 'KNOWN_SERVICES', []) if known_services: key = None - for l in known_services.itervalues(): - for service in l.itervalues(): + for l in known_services.values(): + for service in l.values(): if service['verif_orig'] == request.GET.get('orig', ''): key = service['secret'] if key is None or not signature.check_query(request.META['QUERY_STRING'], key):