Skip to content
Snippets Groups Projects
Commit 8d609fb4 authored by Daniel Brown's avatar Daniel Brown
Browse files

Fixing python 2 exception error

parent 1a53f2d4
Branches
No related tags found
No related merge requests found
......@@ -56,6 +56,14 @@ try:
except ImportError:
# Python 3
from itertools import zip_longest as izip_longest
try:
# Add exception in Python 2
FileNotFoundError
except NameError:
FileNotFoundError = IOError
"""
try:
from future_builtins import zip_longest
......
......@@ -6,6 +6,7 @@ Created on Sun Jan 27 09:43:16 2013
"""
from pykat import __version__ as version
from distutils.core import setup
import os
REQUIREMENTS = [i.strip() for i in open("requirements.txt").readlines()]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment