diff options
author | Clayton Smith <argilo@gmail.com> | 2020-10-03 12:34:28 -0400 |
---|---|---|
committer | Martin Braun <martin@gnuradio.org> | 2020-10-05 09:36:11 +0200 |
commit | b360284d9b40799f1920929453e2db6e6384ae4e (patch) | |
tree | d0b6a4a9195c2cf62fd4a13c69deb52b6b14c631 /grc/core/utils/epy_block_io.py | |
parent | 5f618c67a9f8790337ca6b8b80575d02385e8ae9 (diff) |
grc: remove six
Diffstat (limited to 'grc/core/utils/epy_block_io.py')
-rw-r--r-- | grc/core/utils/epy_block_io.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/grc/core/utils/epy_block_io.py b/grc/core/utils/epy_block_io.py index 1b145d9b9a..e946eb7bf1 100644 --- a/grc/core/utils/epy_block_io.py +++ b/grc/core/utils/epy_block_io.py @@ -3,9 +3,6 @@ import inspect import collections -import six -from six.moves import zip - TYPE_MAP = { 'complex64': 'complex', 'complex': 'complex', @@ -39,7 +36,7 @@ def _find_block_class(source_code, cls): exec(source_code, ns) except Exception as e: raise ValueError("Can't interpret source code: " + str(e)) - for var in six.itervalues(ns): + for var in ns.values(): if inspect.isclass(var) and issubclass(var, cls): return var raise ValueError('No python block class found in code') |