summaryrefslogtreecommitdiff
path: root/grc/gui/ParserErrorsDialog.py
diff options
context:
space:
mode:
authorClayton Smith <argilo@gmail.com>2020-10-03 12:34:28 -0400
committerMartin Braun <martin@gnuradio.org>2020-10-05 09:36:11 +0200
commitb360284d9b40799f1920929453e2db6e6384ae4e (patch)
treed0b6a4a9195c2cf62fd4a13c69deb52b6b14c631 /grc/gui/ParserErrorsDialog.py
parent5f618c67a9f8790337ca6b8b80575d02385e8ae9 (diff)
grc: remove six
Diffstat (limited to 'grc/gui/ParserErrorsDialog.py')
-rw-r--r--grc/gui/ParserErrorsDialog.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/grc/gui/ParserErrorsDialog.py b/grc/gui/ParserErrorsDialog.py
index 9e539852ce..12f6f4c7a7 100644
--- a/grc/gui/ParserErrorsDialog.py
+++ b/grc/gui/ParserErrorsDialog.py
@@ -7,8 +7,6 @@ SPDX-License-Identifier: GPL-2.0-or-later
"""
-import six
-
from gi.repository import Gtk, GObject
from .Constants import MIN_DIALOG_WIDTH, MIN_DIALOG_HEIGHT
@@ -61,7 +59,7 @@ class ParserErrorsDialog(Gtk.Dialog):
"""set up data model"""
self.tree_store.clear()
self._error_logs = error_logs
- for filename, errors in six.iteritems(error_logs):
+ for filename, errors in error_logs.items():
parent = self.tree_store.append(None, [str(filename)])
try:
with open(filename, 'r') as fp: