From 5df52ebd1f7473cf024266c4e941d08af30376b0 Mon Sep 17 00:00:00 2001 From: Paul McCarthy <pauldmccarthy@gmail.com> Date: Thu, 18 Oct 2018 15:39:38 +0100 Subject: [PATCH] MNT: Revert python2-incompabilte changes - these snuck in from the drop_py2 branch. --- fsl/utils/idle.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fsl/utils/idle.py b/fsl/utils/idle.py index ad883f6b4..cdd86a016 100644 --- a/fsl/utils/idle.py +++ b/fsl/utils/idle.py @@ -85,7 +85,7 @@ import atexit import logging import functools import threading -import collections.abc as abc +import collections try: import queue except ImportError: import Queue as queue @@ -586,7 +586,7 @@ def wait(threads, task, *args, **kwargs): direct = kwargs.pop('wait_direct', False) - if not isinstance(threads, abc.Sequence): + if not isinstance(threads, collections.Sequence): threads = [threads] haveWX = fslplatform.haveGui -- GitLab