diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-02-12 15:43:15 +0100 | 
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-02-28 12:15:24 +0100 | 
| commit | 6e4f7a0390b7f49ce79f0e15e07e1d6df309f3ce (patch) | |
| tree | bb7c35ca850f60028c576ee42e3fb95db20a64be /archaeological_operations/utils.py | |
| parent | 8ec062dab58750d8eb7fc0217d7adcf71d222747 (diff) | |
| download | Ishtar-6e4f7a0390b7f49ce79f0e15e07e1d6df309f3ce.tar.bz2 Ishtar-6e4f7a0390b7f49ce79f0e15e07e1d6df309f3ce.zip | |
Refactor - clean
Diffstat (limited to 'archaeological_operations/utils.py')
| -rw-r--r-- | archaeological_operations/utils.py | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/archaeological_operations/utils.py b/archaeological_operations/utils.py index 801cc6ea4..55fb9ef76 100644 --- a/archaeological_operations/utils.py +++ b/archaeological_operations/utils.py @@ -337,12 +337,12 @@ def parse_comment_addr_nature(nature, addr, owner):      nature = parse_string(nature)      comments = []      if nature: -        comments += [u"Aménagement :", nature] +        comments += ["Aménagement :", nature]      if addr: -        comments += [u"Adresse :", addr] +        comments += ["Adresse :", addr]      if not comments:          return "" -    return u"\n".join(comments) +    return "\n".join(comments)  # si pas de start date : premier janvier de year | 
