diff options
Diffstat (limited to 'lib/spack/spack/util/unparse/unparser.py')
-rw-r--r-- | lib/spack/spack/util/unparse/unparser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/util/unparse/unparser.py b/lib/spack/spack/util/unparse/unparser.py index 27197bd699..8dbd9083b9 100644 --- a/lib/spack/spack/util/unparse/unparser.py +++ b/lib/spack/spack/util/unparse/unparser.py @@ -670,7 +670,7 @@ class Unparser: self.write(repr(tree.s)) elif isinstance(tree.s, str): self.write("b" + repr(tree.s)) - elif isinstance(tree.s, unicode): # noqa + elif isinstance(tree.s, unicode): # noqa: F821 self.write(repr(tree.s).lstrip("u")) else: assert False, "shouldn't get here" |