From f81dfd84fde42fe596d7054aac5ad9d522696d1a Mon Sep 17 00:00:00 2001 From: "Josh Warner (Mac)" Date: Mon, 8 Jun 2015 17:20:10 -0500 Subject: [PATCH] FIX: typo in local version of tifffile _replace_by --- skimage/external/tifffile/tifffile_local.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skimage/external/tifffile/tifffile_local.py b/skimage/external/tifffile/tifffile_local.py index 4ddd6763..eaeaee83 100644 --- a/skimage/external/tifffile/tifffile_local.py +++ b/skimage/external/tifffile/tifffile_local.py @@ -153,7 +153,7 @@ import numpy from . import _tifffile -__version__ = '0.3.3' +__version__ = '0.3.4' __docformat__ = 'restructuredtext en' __all__ = ('imsave', 'imread', 'imshow', 'TiffFile', 'TiffWriter', 'TiffSequence') @@ -3114,7 +3114,7 @@ def _replace_by(module_function, package=None, warn=False): full_name = modname else: full_name = package + '.' + modname - module = __import__(full_name, romlist=[modname]) + module = __import__(full_name, fromlist=[modname]) func, oldfunc = getattr(module, function), func globals()['__old_' + func.__name__] = oldfunc except Exception: