summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGregory Becker <becker33@llnl.gov>2016-05-09 16:24:26 -0700
committerGregory Becker <becker33@llnl.gov>2016-05-09 16:24:26 -0700
commita7026da45c1f0eefd3d4e8bcf8a2d28cccab4666 (patch)
tree26491b57bc3daaf4acf4f1304a651a5175fa584f /lib
parent222c84d9be10fce410093c479daa2877fc344b3a (diff)
downloadspack-a7026da45c1f0eefd3d4e8bcf8a2d28cccab4666.tar.gz
spack-a7026da45c1f0eefd3d4e8bcf8a2d28cccab4666.tar.bz2
spack-a7026da45c1f0eefd3d4e8bcf8a2d28cccab4666.tar.xz
spack-a7026da45c1f0eefd3d4e8bcf8a2d28cccab4666.zip
cleanup
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/spec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/spec.py b/lib/spack/spack/spec.py
index 4159d18b74..0c6a49dd4c 100644
--- a/lib/spack/spack/spec.py
+++ b/lib/spack/spack/spec.py
@@ -1872,7 +1872,7 @@ class Spec(object):
fmt += 's'
if c == '_':
- if name = self.name if self.name else ''
+ name = self.name if self.name else ''
out.write(fmt % name)
elif c == '.':
out.write(fmt % self.fullname)