From ee19d243e2fec572f864b2867c51a00e59efbe86 Mon Sep 17 00:00:00 2001 From: Mark Brough Date: Wed, 8 Nov 2023 17:55:32 +0100 Subject: [PATCH] Move description after name, to satisfy xsd schema --- importers/sector_cofog.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/importers/sector_cofog.py b/importers/sector_cofog.py index a9a5216..b890571 100644 --- a/importers/sector_cofog.py +++ b/importers/sector_cofog.py @@ -24,14 +24,14 @@ def run(): lookup = [ ('code', 'code'), ('name_en', 'name_en'), + ('description_en', 'description_en'), ('codeforiati:category-code', 'codeforiati:category-code'), ('codeforiati:category-name_en', 'codeforiati:category-name_en'), ('codeforiati:group-code', 'codeforiati:group-code'), ('codeforiati:group-name_en', 'codeforiati:group-name_en'), ('codeforiati:cofog-class', 'codeforiati:cofog-class'), ('codeforiati:cofog-group', 'codeforiati:cofog-group'), - ('codeforiati:cofog-division', 'codeforiati:cofog-division'), - ('description_en', 'description_en') + ('codeforiati:cofog-division', 'codeforiati:cofog-division') ] Importer('SectorCOFOG', None, lookup, source_data=sectors_cofog, order_by='code/text()', sort_attrs=True)