1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
From: Debian Science Maintainers
<debian-science-maintainers@lists.alioth.debian.org>
Date: Sun, 21 Dec 2025 16:22:50 +1100
Subject: remove_six
---
nxs/napi.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/nxs/napi.py b/nxs/napi.py
index afdd6e4..601e1e6 100755
--- a/nxs/napi.py
+++ b/nxs/napi.py
@@ -188,7 +188,6 @@ __all__ = ['UNLIMITED', 'MAXRANK', 'MAXNAMELEN','MAXPATHLEN','H4SKIP',
'NeXus','NeXusError','open']
import sys, os, numpy, ctypes
-import six
# Defined ctypes
from ctypes import c_void_p, c_int, c_int64, c_long, c_char, c_char_p
@@ -237,7 +236,7 @@ _nxtype_code=dict(
# Other than 'char' for the string type, the python types correspond to
# the numpy data types, and can be used directly to create numpy arrays.
# Note: put this in a lambda to hide v,k from the local namespace
-_pytype_code=(lambda : dict([(v,k) for (k,v) in six.iteritems(_nxtype_code)]))()
+_pytype_code=(lambda : dict([(v,k) for (k,v) in _nxtype_code.items()]))()
# Compression to use when creating data blocks
_compression_code=dict(
|