From b360284d9b40799f1920929453e2db6e6384ae4e Mon Sep 17 00:00:00 2001
From: Clayton Smith <argilo@gmail.com>
Date: Sat, 3 Oct 2020 12:34:28 -0400
Subject: grc: remove six

---
 grc/core/params/param.py | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

(limited to 'grc/core/params/param.py')

diff --git a/grc/core/params/param.py b/grc/core/params/param.py
index 7e0f0ce462..841a290b5d 100644
--- a/grc/core/params/param.py
+++ b/grc/core/params/param.py
@@ -2,16 +2,13 @@
 # This file is part of GNU Radio
 #
 # SPDX-License-Identifier: GPL-2.0-or-later
-# 
+#
 
 
 import ast
 import collections
 import textwrap
 
-import six
-from six.moves import range
-
 from .. import Constants
 from ..base import Element
 from ..utils.descriptors import Evaluated, EvaluatedEnum, setup_names
@@ -76,7 +73,7 @@ class Param(Element):
         options.attributes = collections.defaultdict(dict)
 
         padding = [''] * max(len(values), len(labels))
-        attributes = {key: value + padding for key, value in six.iteritems(attributes)}
+        attributes = {key: value + padding for key, value in attributes.items()}
 
         for i, option in enumerate(values):
             # Test against repeated keys
@@ -89,7 +86,7 @@ class Param(Element):
                 label = str(option)
             # Store the option
             options[option] = label
-            options.attributes[option] = {attrib: values[i] for attrib, values in six.iteritems(attributes)}
+            options.attributes[option] = {attrib: values[i] for attrib, values in attributes.items()}
 
         default = next(iter(options)) if options else ''
         if not self.value:
-- 
cgit v1.2.3