summaryrefslogtreecommitdiff
path: root/gr-utils/python/modtool/cli/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-utils/python/modtool/cli/base.py')
-rw-r--r--gr-utils/python/modtool/cli/base.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/gr-utils/python/modtool/cli/base.py b/gr-utils/python/modtool/cli/base.py
index 5fa2b8b7b4..d0259372ff 100644
--- a/gr-utils/python/modtool/cli/base.py
+++ b/gr-utils/python/modtool/cli/base.py
@@ -73,8 +73,6 @@ class CommandCLI(click.Group):
command is the priority over the same external plug-in command.
"""
try:
- if sys.version_info[0] == 2:
- cmd_name = cmd_name.encode('ascii', 'replace')
mod = import_module('gnuradio.modtool.cli.' + cmd_name)
except ImportError:
return self.commands.get(cmd_name)