diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-07-15 17:48:45 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-07-15 17:48:45 +0200 |
commit | 0b3b378cd6e26370cefe3b5c390d997601dca3b0 (patch) | |
tree | 4297cb7c8f1eb537752f2ce6140183ac15ae6856 /archaeological_operations/import_from_csv.py | |
parent | f1bbfc3b9caee2ebf1ffa5c814f61f97933448b9 (diff) | |
download | Ishtar-0b3b378cd6e26370cefe3b5c390d997601dca3b0.tar.bz2 Ishtar-0b3b378cd6e26370cefe3b5c390d997601dca3b0.zip |
Import operations: fix comments
Diffstat (limited to 'archaeological_operations/import_from_csv.py')
-rw-r--r-- | archaeological_operations/import_from_csv.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_operations/import_from_csv.py b/archaeological_operations/import_from_csv.py index 790f0e078..e2d77dbf3 100644 --- a/archaeological_operations/import_from_csv.py +++ b/archaeological_operations/import_from_csv.py @@ -330,12 +330,12 @@ def parse_person(surname, name, old_ref, owner): p = Person.objects.create(**defaults) return p -def parse_comment_addr_nature(addr, nature, owner): +def parse_comment_addr_nature(nature, addr, owner): addr = parse_string(addr) nature = parse_string(nature) comments = [] if nature: - comments += [u"Amanégement :", nature] + comments += [u"Aménagement :", nature] if addr: comments += [u"Adresse :", addr] if not comments: |