summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMorten Kristensen <me@mortens.dev>2021-10-24 18:49:05 +0200
committerGitHub <noreply@github.com>2021-10-24 16:49:05 +0000
commit9e11e62bca86e5c04e8b0dfcc49241219e526936 (patch)
tree0022489b218b3c702334db01235b102da8a21f39 /lib
parent7fee7a7ce1842a16d6bdfa8563480795ba0f6e9b (diff)
downloadspack-9e11e62bca86e5c04e8b0dfcc49241219e526936.tar.gz
spack-9e11e62bca86e5c04e8b0dfcc49241219e526936.tar.bz2
spack-9e11e62bca86e5c04e8b0dfcc49241219e526936.tar.xz
spack-9e11e62bca86e5c04e8b0dfcc49241219e526936.zip
py-vermin: add latest version 1.3.1 (#26920)
* py-vermin: add latest version 1.3.1 * Exclude line from Vermin since version is already being checked for Vermin 1.3.1 finds that `encoding` kwarg of builtin `open()` requires Python 3+.
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/llnl/util/tty/log.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/llnl/util/tty/log.py b/lib/spack/llnl/util/tty/log.py
index 7003f58f8d..efcd487f23 100644
--- a/lib/spack/llnl/util/tty/log.py
+++ b/lib/spack/llnl/util/tty/log.py
@@ -323,7 +323,7 @@ class FileWrapper(object):
if sys.version_info < (3,):
self.file = open(self.file_like, 'w')
else:
- self.file = open(self.file_like, 'w', encoding='utf-8')
+ self.file = open(self.file_like, 'w', encoding='utf-8') # novm
else:
self.file = StringIO()
return self.file