Fix variable name bug

This commit is contained in:
Adam J. Stewart 2016-01-25 09:29:51 -06:00
parent 8ef800f64f
commit 323bba99f1

View file

@ -62,7 +62,7 @@ for pyc_file in orphaned_pyc_files:
try:
os.remove(pyc_file)
except OSError as e:
print "WARNING: Spack may fail mysteriously. Couldn't remove orphaned .pyc file: %s" % pyc
print "WARNING: Spack may fail mysteriously. Couldn't remove orphaned .pyc file: %s" % pyc_file
# If there is no working directory, use the spack prefix.
try: