Skip to content
Browse files

Changed [459] to use a better interface for the exception

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 024e68e commit 7bac5520690b8df041e705862096a969f76975fc @adrianholovaty adrianholovaty committed
Showing with 1 addition and 2 deletions.
  1. +1 −2 django/core/db/backends/
3 django/core/db/backends/
@@ -9,7 +9,6 @@
import MySQLdb as Database
from MySQLdb.converters import conversions
from MySQLdb.constants import FIELD_TYPE
-from _mysql_exceptions import NotSupportedError
import types
DatabaseError = Database.DatabaseError
@@ -43,7 +42,7 @@ def rollback(self):
if self.connection:
- except NotSupportedError:
+ except Database.NotSupportedError:
def close(self):

0 comments on commit 7bac552

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