]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Fixed messed up __init__ in MSSmallDate. Fixes #1040.
authorMichael Trier <mtrier@gmail.com>
Mon, 14 Jul 2008 04:15:56 +0000 (04:15 +0000)
committerMichael Trier <mtrier@gmail.com>
Mon, 14 Jul 2008 04:15:56 +0000 (04:15 +0000)
(cherry picked from commit b1e3c1923d9f0f56b5640f7a11f423cadf30a190)

lib/sqlalchemy/databases/mssql.py

index 8b370650f6d034b52dd0830c614d489dc44eff5d..9894a46f3b5c5fe541fefb20fe0a657a497b78f3 100644 (file)
@@ -115,7 +115,7 @@ class MSDateTime(sqltypes.DateTime):
 
 class MSSmallDate(sqltypes.Date):
     def __init__(self, *a, **kw):
-        super(MSDate, self).__init__(False)
+        super(MSSmallDate, self).__init__(False)
 
     def get_col_spec(self):
         return "SMALLDATETIME"