From 227f223830697d0545116759bef8b97cae10cb1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Reuiller?= Date: Mon, 21 Oct 2024 11:29:29 +0200 Subject: [PATCH] remove useless pass --- lemarche/siaes/models.py | 1 - 1 file changed, 1 deletion(-) diff --git a/lemarche/siaes/models.py b/lemarche/siaes/models.py index a98f9111f..348447242 100644 --- a/lemarche/siaes/models.py +++ b/lemarche/siaes/models.py @@ -1583,7 +1583,6 @@ def filter_with_tender(self, tender): qs = qs.geo_range_in_perimeter_list(tender.perimeters.all(), include_country_area=True) elif tender.perimeters.count(): # only perimeters qs = qs.geo_range_in_perimeter_list(tender.perimeters.all()).exclude_country_geo_range() - pass elif tender.include_country_area: qs = qs.filter(Q(geo_range=siae_constants.GEO_RANGE_COUNTRY))