Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

git-svn-id: http://code.djangoproject.com/svn/django/trunk@460 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 7bac5520690b8df041e705862096a969f76975fc 1 parent 024e68e
@adrianholovaty adrianholovaty authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  django/core/db/backends/mysql.py
View
3  django/core/db/backends/mysql.py
@@ -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:
try:
self.connection.rollback()
- except NotSupportedError:
+ except Database.NotSupportedError:
pass
def close(self):

0 comments on commit 7bac552

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