author | sylvain.thenault@logilab.fr |
Thu, 30 Apr 2009 14:17:22 +0200 | |
branch | tls-sprint |
changeset 1603 | 56217e741939 |
parent 1602 | 3cca95459779 |
child 1604 | fd943737d630 |
--- a/utils.py Thu Apr 30 13:08:11 2009 +0200 +++ b/utils.py Thu Apr 30 14:17:22 2009 +0200 @@ -27,7 +27,7 @@ """return a date from a date (leaving unchanged) or a datetime""" if isinstance(somedate, datetime): return date(somedate.year, somedate.month, somedate.day) - assert isinstance(somedate, date) + assert isinstance(somedate, date), repr(somedate) return date ONEDAY = timedelta(days=1)