Remove FileNotFoundError compatibility
This commit is contained in:
1 parent
0538a3e224
commit
f9a35ae42a
8 files changed
+6
-14
No files matched your search
@@ -216,11 +216,6 @@ try:
|
||||
except ImportError:
|
||||
from itertools import izip_longest as zip_longest # Python 2 # noqa: F401
|
||||
|
||||
try:
|
||||
FileNotFoundError = FileNotFoundError
|
||||
except NameError:
|
||||
FileNotFoundError = IOError
|
||||
|
||||
try:
|
||||
IsADirectoryError = IsADirectoryError
|
||||
except NameError:
|
||||
|
||||
Reference in new issue
Block a user