From 7597dd2e8bf9fda162db3e6bbed58c716b3a193f Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 2 Jun 2020 16:44:11 -0700 Subject: warn, but don't skip mangled SIM years --- chocula/util.py | 5 ++--- 1 file 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) -- cgit v1.2.3