On Fri, Dec 16, 2005 at 02:19:08PM +0100, Andrea Arcangeli wrote:
> +class INTERVAL(datetime.timedelta): 
> +     def __init__(self, *args):
> +             datetime.timedelta.__init__(self, *args)
> +
> +     @staticmethod
> +     def toDatabase(s):
> +             return "'%d days %d seconds %d microseconds'" % (s.days, 
> s.seconds, s.microsecond)
                                                                                
      ^^^^^^^^^^^s

After more testing I noticed there was a typo sorry, please add the 's'
by hand after applying the patch thanks.

_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web

Reply via email to