Browse files

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...
1 parent 4c9741c commit 4d5b00b874ea8a2b781fba7fcc4b55a023b68818 @freakboy3742 freakboy3742 committed Oct 28, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/db/backends/__init__.py
View
2 django/db/backends/__init__.py
@@ -185,7 +185,7 @@ class StdDevPop(object):
try:
self.connection.ops.check_aggregate_support(StdDevPop())
- except DatabaseError:
+ except NotImplementedError:
self.supports_stddev = False

0 comments on commit 4d5b00b

Please sign in to comment.