Merge pull request #395 from adamjstewart/features/orphan

Fix variable name bug
This commit is contained in:
Todd Gamblin 2016-01-25 07:54:12 -08:00
commit d4180d35dd

View File

@ -62,7 +62,7 @@ for pyc_file in orphaned_pyc_files:
try: try:
os.remove(pyc_file) os.remove(pyc_file)
except OSError as e: 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. # If there is no working directory, use the spack prefix.
try: try: