aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chocula/util.py5
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)