Skip to content

Commit d6941ff

Browse files
committed
tests: Resolve pep8 issues
Signed-off-by: Stephen Finucane <[email protected]>
1 parent 1e48186 commit d6941ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patchwork/tests/browser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
try:
2525
from django.contrib.staticfiles.testing import StaticLiveServerTestCase
26-
except: # Django < 1.7
26+
except ImportError: # Django < 1.7
2727
from django.test import LiveServerTestCase as StaticLiveServerTestCase
2828
from selenium.common.exceptions import (
2929
NoSuchElementException, StaleElementReferenceException,

0 commit comments

Comments
 (0)