diff options
author | Clayton Smith <argilo@gmail.com> | 2020-10-03 12:34:28 -0400 |
---|---|---|
committer | Martin Braun <martin@gnuradio.org> | 2020-10-05 09:36:11 +0200 |
commit | b360284d9b40799f1920929453e2db6e6384ae4e (patch) | |
tree | d0b6a4a9195c2cf62fd4a13c69deb52b6b14c631 /grc/core/blocks/_flags.py | |
parent | 5f618c67a9f8790337ca6b8b80575d02385e8ae9 (diff) |
grc: remove six
Diffstat (limited to 'grc/core/blocks/_flags.py')
-rw-r--r-- | grc/core/blocks/_flags.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/grc/core/blocks/_flags.py b/grc/core/blocks/_flags.py index a1bc7041d2..335b47a915 100644 --- a/grc/core/blocks/_flags.py +++ b/grc/core/blocks/_flags.py @@ -2,10 +2,7 @@ # This file is part of GNU Radio # # SPDX-License-Identifier: GPL-2.0-or-later -# - - -import six +# class Flags(object): @@ -22,7 +19,7 @@ class Flags(object): def __init__(self, flags=None): if flags is None: flags = set() - if isinstance(flags, six.string_types): + if isinstance(flags, str): flags = (f.strip() for f in flags.replace(',', '').split()) self.data = set(flags) |