From: Mike Bayer Date: Sun, 21 Feb 2010 20:20:44 +0000 (+0000) Subject: extract fix X-Git-Tag: rel_0_6beta2~166 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=123d7625fbf49b8da5c652ebeec6ba8c0b8dff11;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git extract fix --- diff --git a/lib/sqlalchemy/types.py b/lib/sqlalchemy/types.py index 36302cae3e..a52ffe59c6 100644 --- a/lib/sqlalchemy/types.py +++ b/lib/sqlalchemy/types.py @@ -1424,9 +1424,14 @@ class Interval(_DateAffinity, TypeDecorator): operators.mul:{ Numeric:Interval }, + operators.truediv: { + Numeric:Interval + }, + # Py2K operators.div: { Numeric:Interval } + # end Py2K } @property