Skip to content

Commit 73fde6c

Browse files
committed
flake8 fixes replace bare except with except (ImportError, AttributeError)
1 parent 4796a04 commit 73fde6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roundup/anypy/http_.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Python 3+
33
from http import client, server
44
server.DEFAULT_ERROR_MESSAGE
5-
except:
5+
except (ImportError, AttributeError):
66
# Python 2.5-2.7
77
import httplib as client
88
import BaseHTTPServer as server

0 commit comments

Comments
 (0)