summaryrefslogtreecommitdiff
path: root/archaeological_operations/data_importer.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2015-10-20 00:54:55 +0200
committerÉtienne Loks <etienne.loks@proxience.com>2015-10-20 00:54:55 +0200
commit3a83c9d3636f7f3f9f3d2580de43cf47d598d4f6 (patch)
tree33a236a768d6f6a8082dd9cc20686515867f8a05 /archaeological_operations/data_importer.py
parent87afa869477c69bbb3c36083fea076e47d565d4c (diff)
downloadIshtar-3a83c9d3636f7f3f9f3d2580de43cf47d598d4f6.tar.bz2
Ishtar-3a83c9d3636f7f3f9f3d2580de43cf47d598d4f6.zip
Imports: improve data matching
Diffstat (limited to 'archaeological_operations/data_importer.py')
-rw-r--r--archaeological_operations/data_importer.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/archaeological_operations/data_importer.py b/archaeological_operations/data_importer.py
index 9cbdca05c..a5d44dd53 100644
--- a/archaeological_operations/data_importer.py
+++ b/archaeological_operations/data_importer.py
@@ -72,14 +72,14 @@ class TownFormater(Formater):
for town in Town.objects.all():
key = (slugify(town.name.strip()), town.numero_insee[:2])
if key in self._town_full_dct:
- print("Danger! %s is ambiguous with another town on the same "
- "department." % town.name)
+ # print("Danger! %s is ambiguous with another town on the same"
+ # " department." % town.name)
continue
self._town_full_dct[key] = town
key = slugify(town.name.strip())
if key in self._town_dct:
- print("Warning %s is ambiguous with no department provided" %
- town.name)
+ # print("Warning %s is ambiguous with no department provided" %
+ # town.name)
continue
self._town_dct[key] = town
self._initialized = True