|
|
807d553 |
From 293fd167cd8557ffc1aa7d7622426a510b613db2 Mon Sep 17 00:00:00 2001
|
|
|
807d553 |
From: "Ankur Sinha (Ankur Sinha Gmail)" <sanjay.ankur@gmail.com>
|
|
|
807d553 |
Date: Thu, 1 Aug 2019 21:29:51 +0100
|
|
|
807d553 |
Subject: [PATCH] Remove six
|
|
|
807d553 |
|
|
|
807d553 |
---
|
|
|
807d553 |
nitime/__init__.py | 2 +-
|
|
|
807d553 |
nitime/timeseries.py | 2 +-
|
|
|
807d553 |
nitime/viz.py | 4 ++--
|
|
|
807d553 |
3 files changed, 4 insertions(+), 4 deletions(-)
|
|
|
807d553 |
|
|
|
807d553 |
diff --git a/nitime/__init__.py b/nitime/__init__.py
|
|
|
807d553 |
index 0c289dd..3facd41 100644
|
|
|
807d553 |
--- a/nitime/__init__.py
|
|
|
807d553 |
+++ b/nitime/__init__.py
|
|
|
807d553 |
@@ -26,6 +26,6 @@ from .version import __version__
|
|
|
807d553 |
from . import algorithms
|
|
|
807d553 |
from . import timeseries
|
|
|
807d553 |
from . import analysis
|
|
|
807d553 |
-from . import six
|
|
|
807d553 |
+import six
|
|
|
807d553 |
|
|
|
807d553 |
from .timeseries import *
|
|
|
807d553 |
diff --git a/nitime/timeseries.py b/nitime/timeseries.py
|
|
|
807d553 |
index a918d20..53ad0db 100644
|
|
|
807d553 |
--- a/nitime/timeseries.py
|
|
|
807d553 |
+++ b/nitime/timeseries.py
|
|
|
807d553 |
@@ -32,7 +32,7 @@ import numpy as np
|
|
|
807d553 |
|
|
|
807d553 |
# Our own
|
|
|
807d553 |
from nitime import descriptors as desc
|
|
|
807d553 |
-import nitime.six as six
|
|
|
807d553 |
+import six
|
|
|
807d553 |
|
|
|
807d553 |
#-----------------------------------------------------------------------------
|
|
|
807d553 |
# Module globals
|
|
|
807d553 |
diff --git a/nitime/viz.py b/nitime/viz.py
|
|
|
807d553 |
index 0d8602d..05349b8 100644
|
|
|
807d553 |
--- a/nitime/viz.py
|
|
|
807d553 |
+++ b/nitime/viz.py
|
|
|
807d553 |
@@ -7,8 +7,8 @@ from __future__ import print_function
|
|
|
807d553 |
|
|
|
807d553 |
# If you are running nosetests right now, you might want to use 'agg' as a backend:
|
|
|
807d553 |
import sys
|
|
|
807d553 |
-from nitime.six.moves import map
|
|
|
807d553 |
-from nitime.six.moves import zip
|
|
|
807d553 |
+from six.moves import map
|
|
|
807d553 |
+from six.moves import zip
|
|
|
807d553 |
|
|
|
807d553 |
# Then do all the rest of it:
|
|
|
807d553 |
import numpy as np
|
|
|
807d553 |
--
|
|
|
807d553 |
2.21.0
|
|
|
807d553 |
|