Skip to content

Commit

Permalink
FileNotFoundError for Python 2
Browse files Browse the repository at this point in the history
  • Loading branch information
malb committed Oct 9, 2017
1 parent bfbf4fe commit 548f6a6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@

from copy import copy

try:
FileNotFoundError
except NameError:
FileNotFoundError = IOError # Python 2 workaround


# CONFIG VARIABLES

Expand Down

0 comments on commit 548f6a6

Please sign in to comment.