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/utils/extract_docs.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'grc/core/utils/extract_docs.py') diff --git a/grc/core/utils/extract_docs.py b/grc/core/utils/extract_docs.py index 8389c29e84..09bcaeb7c7 100644 --- a/grc/core/utils/extract_docs.py +++ b/grc/core/utils/extract_docs.py @@ -14,9 +14,7 @@ import threading import json import random import itertools - -import six -from six.moves import queue, filter, range +import queue ############################################################################### @@ -276,7 +274,7 @@ if __name__ == '__worker__': elif __name__ == '__main__': def callback(key, docs): print(key) - for match, doc in six.iteritems(docs): + for match, doc in docs.items(): print('-->', match) print(str(doc).strip()) print() -- cgit v1.2.3