summaryrefslogtreecommitdiff
path: root/ishtar_common/management/commands/import_insee_comm_csv.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-10-28 17:39:46 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-10-28 17:39:46 +0200
commit127b1c19794cd631a1a373ee2aaa8ef729d61ecb (patch)
tree36540d31cf0ca653d8b4f9ad083ad807fe4f2c32 /ishtar_common/management/commands/import_insee_comm_csv.py
parent5383bbb4e17432929aeb4ee412d71a3d36297a9a (diff)
downloadIshtar-127b1c19794cd631a1a373ee2aaa8ef729d61ecb.tar.bz2
Ishtar-127b1c19794cd631a1a373ee2aaa8ef729d61ecb.zip
Geofla import: manage new ADMIN EXPRESS format
Diffstat (limited to 'ishtar_common/management/commands/import_insee_comm_csv.py')
-rw-r--r--ishtar_common/management/commands/import_insee_comm_csv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/management/commands/import_insee_comm_csv.py b/ishtar_common/management/commands/import_insee_comm_csv.py
index 97b680267..24eb2013e 100644
--- a/ishtar_common/management/commands/import_insee_comm_csv.py
+++ b/ishtar_common/management/commands/import_insee_comm_csv.py
@@ -74,7 +74,7 @@ class Command(BaseCommand):
year=default_year)
if not q.count():
nb_created += 1
- name = row['NomCN'].decode('utf-8').upper().strip()
+ name = row['NomCN'].decode('utf-8').strip()
name = r.sub(r"\2 \1", name).strip()
new_town = Town.objects.create(name=name, year=default_year,
numero_insee=new_insee)