Commit 8d609fb4 authored by Daniel Brown's avatar Daniel Brown
Browse files

Fixing python 2 exception error

parent 1a53f2d4
......@@ -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
......@@ -1456,7 +1464,7 @@ class kat(object):
start = time.time()
duration = 5 # Duration for searching for open pipe
try:
while fifo is None:
try:
......
......@@ -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()]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment