diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/talass/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/talass/package.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/talass/package.py b/var/spack/repos/builtin/packages/talass/package.py index 4633eb9cf5..b7a0315472 100644 --- a/var/spack/repos/builtin/packages/talass/package.py +++ b/var/spack/repos/builtin/packages/talass/package.py @@ -1,4 +1,4 @@ -# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other +# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) @@ -35,9 +35,10 @@ class Talass(CMakePackage): args = [] if int(variants['local'].value) > int(variants['global'].value): - raise InstallError('The global index space (%d bits) must be at least as large\ - as the local index space (% bits)' % (variants['global'].value, - variants['local'].value)) + msg = ('The global index space (%d bits) must be at least as ' + 'large as the local index space (% bits)') + raise InstallError( + msg % (variants['global'].value, variants['local'].value)) if variants['precision'].value == '32': args.append('-DFUNCTION_TYPE=float') |