From fd2b72fd0fb0ea1ac86c6f0eef9e0d132fb95f06 Mon Sep 17 00:00:00 2001 From: alalazo Date: Fri, 21 Oct 2016 22:15:29 +0200 Subject: [PATCH] qa : flake8 issues --- lib/spack/spack/cmd/create.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/spack/spack/cmd/create.py b/lib/spack/spack/cmd/create.py index 7f8cf1aa5c..9ec9cfe98c 100644 --- a/lib/spack/spack/cmd/create.py +++ b/lib/spack/spack/cmd/create.py @@ -126,7 +126,9 @@ def versions(self): """Adds a version() call to the package for each version found.""" max_len = max(len(str(v)) for v, h in self.version_hash_tuples) format = " version(%%-%ds, '%%s')" % (max_len + 2) - return '\n'.join(format % ("'%s'" % v, h) for v, h in self.version_hash_tuples) + return '\n'.join( + format % ("'%s'" % v, h) for v, h in self.version_hash_tuples + ) class AutotoolsGuess(DefaultGuess):