diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-07-30 23:15:14 +0200 | 
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-07-30 23:15:14 +0200 | 
| commit | f66ce82b81667e51bb044dca4c0c5777ba0ba8b9 (patch) | |
| tree | 4cdecaca47fd4281b8ecf99b345682c30a8e26a2 /archaeological_operations/utils.py | |
| parent | a165786c088d097f54427618a21d796292c6e831 (diff) | |
| parent | 16922547bb19e04a100d10c90f0ec48f02669835 (diff) | |
| download | Ishtar-f66ce82b81667e51bb044dca4c0c5777ba0ba8b9.tar.bz2 Ishtar-f66ce82b81667e51bb044dca4c0c5777ba0ba8b9.zip | |
Merge branch 'master' into develop
Diffstat (limited to 'archaeological_operations/utils.py')
| -rw-r--r-- | archaeological_operations/utils.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/archaeological_operations/utils.py b/archaeological_operations/utils.py index 40ca71c05..3a5057cd5 100644 --- a/archaeological_operations/utils.py +++ b/archaeological_operations/utils.py @@ -256,7 +256,7 @@ def parse_year(value):          yr = int(value)      except ValueError:          return None -    if yr < 1600 or yr > 2100: +    if yr < 1000 or yr > 2100:          return None      return yr @@ -268,7 +268,7 @@ def parse_trunc_patriarche(value):      value = value.replace(' ', '')      try:          int(value) -    except: +    except ValueError:          return      return '18' + unicode(value) | 
