$NetBSD: patch-ae,v 1.2 2002/10/24 17:21:59 drochner Exp $ --- data/date.py.orig Sat Sep 22 20:02:33 2001 +++ data/date.py Thu Oct 24 18:44:53 2002 @@ -1,4 +1,6 @@ try: + from mx.DateTime import * +except ImportError: from DateTime import * except: print "In order to use date.py you need the mxdatetime package" @@ -57,7 +59,7 @@ return emma.date() >= this.ticks() and emma.date() < next.ticks() emma.register_func("MonthExt",\ - "Args: numMonths, offset\n\n",\ + "Args: numMonths, offset\n\n"\ "Returns True if the transaction happened\n"\ "in the next months offset by\n"\ " weeks.\n\n"\ @@ -72,7 +74,7 @@ return emma.date() >= this.ticks() and emma.date() < next.ticks() emma.register_func("YearExt",\ - "Args: numYears, offset\n\n",\ + "Args: numYears, offset\n\n"\ "Returns True if the transaction happened in\n"\ "the next year offset by \n"\ "years.\n\n"\