try/except import are now handled by flake8 2.0+ / pyflakes 0.6+
This commit is contained in:
parent
a1267abfc3
commit
be3e19a203
14 changed files with 17 additions and 17 deletions
|
|
@ -21,7 +21,7 @@
|
|||
try:
|
||||
import sqlite3 as sqlite
|
||||
except ImportError, e:
|
||||
from pysqlite2 import dbapi2 as sqlite # NOQA
|
||||
from pysqlite2 import dbapi2 as sqlite
|
||||
|
||||
from mechanize import CookieJar, Cookie
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue