From 671b785c3b09769234c43476ae50e3a1ca75df4a Mon Sep 17 00:00:00 2001
From: Clayton Smith <argilo@gmail.com>
Date: Mon, 5 Oct 2020 20:35:38 -0400
Subject: runtime: remove six

---
 gnuradio-runtime/python/gnuradio/eng_notation.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

(limited to 'gnuradio-runtime/python/gnuradio/eng_notation.py')

diff --git a/gnuradio-runtime/python/gnuradio/eng_notation.py b/gnuradio-runtime/python/gnuradio/eng_notation.py
index 951f79862a..adf6e9572c 100644
--- a/gnuradio-runtime/python/gnuradio/eng_notation.py
+++ b/gnuradio-runtime/python/gnuradio/eng_notation.py
@@ -10,9 +10,6 @@
 Display numbers as strings using engineering notation.
 """
 
-import six
-
-
 scale_factor = {}
 scale_factor['E'] = 1e18
 scale_factor['P'] = 1e15
@@ -56,7 +53,7 @@ def num_to_str (n, precision=6):
 def str_to_num (value):
     '''Convert a string in engineering notation to a number.  E.g., '15m' -> 15e-3'''
     try:
-        if not isinstance(value, six.string_types):
+        if not isinstance(value, str):
             raise TypeError("Value must be a string")
         scale = 1.0
         suffix = value[-1]
-- 
cgit v1.2.3