From 4767e80e957a85515a3ffbfec0f5024bac205d64 Mon Sep 17 00:00:00 2001 From: Daniel Ecer <de-code@users.noreply.github.com> Date: Mon, 29 Jan 2018 20:12:03 +0000 Subject: [PATCH] also use amended version of python_2_unicode_compatible for matching annotator --- sciencebeam_gym/preprocess/annotation/matching_annotator.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sciencebeam_gym/preprocess/annotation/matching_annotator.py b/sciencebeam_gym/preprocess/annotation/matching_annotator.py index 9b59bb0..350e07e 100644 --- a/sciencebeam_gym/preprocess/annotation/matching_annotator.py +++ b/sciencebeam_gym/preprocess/annotation/matching_annotator.py @@ -5,10 +5,12 @@ import csv from builtins import str as text from itertools import tee, islice -from future.utils import python_2_unicode_compatible - from six.moves import zip_longest +from sciencebeam_gym.utils.compat import ( + python_2_unicode_compatible +) + from sciencebeam_gym.utils.csv import ( csv_delimiter_by_filename, write_csv_row -- GitLab