From 0d2cc27928606c6ab68cd1c3acf4fdd6b112787a Mon Sep 17 00:00:00 2001 From: "geo-ghci-int[bot]" <146321879+geo-ghci-int[bot]@users.noreply.github.com> Date: Mon, 2 Dec 2024 18:52:44 +0000 Subject: [PATCH] Apply pre-commit fix From the artifact of the previous workflow run --- .../alembic/main/56dc90838d90_fix_removing_layerv1.py | 4 ++-- geoportal/c2cgeoportal_geoportal/scripts/theme2fts.py | 2 +- geoportal/c2cgeoportal_geoportal/views/dev.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/commons/c2cgeoportal_commons/alembic/main/56dc90838d90_fix_removing_layerv1.py b/commons/c2cgeoportal_commons/alembic/main/56dc90838d90_fix_removing_layerv1.py index 392f6ea245..7c98f9d374 100644 --- a/commons/c2cgeoportal_commons/alembic/main/56dc90838d90_fix_removing_layerv1.py +++ b/commons/c2cgeoportal_commons/alembic/main/56dc90838d90_fix_removing_layerv1.py @@ -50,11 +50,11 @@ def upgrade() -> None: schema = config["schema"] op.execute( - + f"DELETE from {schema}.layer_restrictionarea WHERE layer_id IN (" f"SELECT id from {schema}.treeitem WHERE type = 'layerv1'" ");" - + ) op.execute(f"DELETE from {schema}.treeitem WHERE type = 'layerv1';") diff --git a/geoportal/c2cgeoportal_geoportal/scripts/theme2fts.py b/geoportal/c2cgeoportal_geoportal/scripts/theme2fts.py index 92d615f910..0e01c3893a 100644 --- a/geoportal/c2cgeoportal_geoportal/scripts/theme2fts.py +++ b/geoportal/c2cgeoportal_geoportal/scripts/theme2fts.py @@ -1,4 +1,4 @@ -# Copyright (c) 2014-2023, Camptocamp SA +# Copyright (c) 2014-2024, Camptocamp SA # All rights reserved. # Redistribution and use in source and binary forms, with or without diff --git a/geoportal/c2cgeoportal_geoportal/views/dev.py b/geoportal/c2cgeoportal_geoportal/views/dev.py index 240eb74245..d61f78bef7 100644 --- a/geoportal/c2cgeoportal_geoportal/views/dev.py +++ b/geoportal/c2cgeoportal_geoportal/views/dev.py @@ -1,4 +1,4 @@ -# Copyright (c) 2011-2021, Camptocamp SA +# Copyright (c) 2011-2024, Camptocamp SA # All rights reserved. # Redistribution and use in source and binary forms, with or without