]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
extract fix
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 21 Feb 2010 20:20:44 +0000 (20:20 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 21 Feb 2010 20:20:44 +0000 (20:20 +0000)
lib/sqlalchemy/types.py

index 36302cae3e6f90d61ed0bb01757e828e77875515..a52ffe59c6f381df45d78499ad9cd27365968303 100644 (file)
@@ -1424,9 +1424,14 @@ class Interval(_DateAffinity, TypeDecorator):
             operators.mul:{
                 Numeric:Interval
             },
+            operators.truediv: {
+                Numeric:Interval
+            },
+            # Py2K
             operators.div: {
                 Numeric:Interval
             }
+            # end Py2K
         }
 
     @property