Skip to content

Commit

Permalink
chore(mtd): move log 'mtd - process af list' to right place
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentCauchois committed Feb 6, 2025
1 parent 74103cd commit 30c57b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/geonature/core/gn_meta/mtd/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ def process_af_and_ds(af_list, ds_list, id_role=None):
list_cd_nomenclature = db.session.scalars(
select(TNomenclatures.cd_nomenclature).distinct()
).all()
logger.debug("MTD - PROCESS AF LIST")
nb_af = len(af_list)
nb_ds = len(ds_list)
logger.info(f"Number of AF to process : {nb_af}")
Expand All @@ -207,6 +206,7 @@ def process_af_and_ds(af_list, ds_list, id_role=None):
nb_updated_ds = 0
nb_retrieved_new_af = 0
nb_retrieved_new_ds = 0
logger.debug("MTD - PROCESS AF LIST")
for af in af_list:
actors = af.pop("actors")
with db.session.begin_nested():
Expand Down

0 comments on commit 30c57b0

Please sign in to comment.