Commit 4d5b00b8 authored by Russell Keith-Magee's avatar Russell Keith-Magee
Browse files

Fixed #14517 -- Corrected the exception that is caught when testing for the...

Fixed #14517 -- Corrected the exception that is caught when testing for the availability of STDDEV operations. Thanks to agabel for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14375 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 4c9741cb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -185,7 +185,7 @@ class BaseDatabaseFeatures(object):

        try:
            self.connection.ops.check_aggregate_support(StdDevPop())
        except DatabaseError:
        except NotImplementedError:
            self.supports_stddev = False