Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #14517 -- Corrected the exception that is caught when testing f…

…or 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
  • Loading branch information...
commit 4d5b00b874ea8a2b781fba7fcc4b55a023b68818 1 parent 4c9741c
Russell Keith-Magee authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/db/backends/__init__.py
2  django/db/backends/__init__.py
@@ -185,7 +185,7 @@ class StdDevPop(object):
185 185
 
186 186
         try:
187 187
             self.connection.ops.check_aggregate_support(StdDevPop())
188  
-        except DatabaseError:
  188
+        except NotImplementedError:
189 189
             self.supports_stddev = False
190 190
 
191 191
 

0 notes on commit 4d5b00b

Please sign in to comment.
Something went wrong with that request. Please try again.