Fix some flake8 errors (#410)

This commit is contained in:
Inada Naoki
2019-11-29 17:33:06 +09:00
committed by GitHub
parent 82301a301a
commit 00016e0961
2 changed files with 3 additions and 9 deletions

View File

@ -5,10 +5,9 @@ want to make your own subclasses. In most cases, you will probably
override Connection.default_cursor with a non-standard Cursor class.
"""
import re
import sys
from MySQLdb import cursors, _mysql
from MySQLdb._exceptions import (
from . import cursors, _mysql
from ._exceptions import (
Warning, Error, InterfaceError, DataError,
DatabaseError, OperationalError, IntegrityError, InternalError,
NotSupportedError, ProgrammingError,