# HG changeset patch # User Sandrine Ribeau # Date 1241689626 25200 # Node ID 182536159750ca74d3bfdfbd0d6982403b241241 # Parent 8c717cc0b353ac9de53ee88fc7c36a49ec44a3de Make sure end is datetime.date. diff -r 8c717cc0b353 -r 182536159750 utils.py --- a/utils.py Wed May 06 18:13:32 2009 +0200 +++ b/utils.py Thu May 07 02:47:06 2009 -0700 @@ -72,6 +72,7 @@ """ assert not (incday and incmonth) begin = todate(begin) + end = todate(end) if incmonth: while begin < end: begin = next_month(begin, incmonth)