diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-06-02 16:44:11 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-06-02 16:44:11 -0700 |
commit | 7597dd2e8bf9fda162db3e6bbed58c716b3a193f (patch) | |
tree | 234508c337b673e3a3db09b47deea162f3abe38a | |
parent | 64144ff855b513cc6aaf995bb0136b6e3922cff3 (diff) | |
download | chocula-7597dd2e8bf9fda162db3e6bbed58c716b3a193f.tar.gz chocula-7597dd2e8bf9fda162db3e6bbed58c716b3a193f.zip |
warn, but don't skip mangled SIM years
-rw-r--r-- | chocula/util.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chocula/util.py b/chocula/util.py index a8a30db..09860d8 100644 --- a/chocula/util.py +++ b/chocula/util.py @@ -167,9 +167,8 @@ def gaps_to_spans(first, last, gaps): if not gaps: return [[first, last]] if not (last >= first and max(gaps) < last and min(gaps) > first): - # mangled - print("mangled years: {}".format((first, last, gaps))) - return [] + # years seem mangled? will continue though + print("mangled years: {}".format((first, last, gaps)), file=sys.stderr) full = list(range(first, last+1)) for missing in gaps: full.remove(missing) |