Skip to content
Snippets Groups Projects
Commit 323bba99 authored by Adam J. Stewart's avatar Adam J. Stewart
Browse files

Fix variable name bug

parent 8ef800f6
No related branches found
No related tags found
No related merge requests found
...@@ -62,7 +62,7 @@ for pyc_file in orphaned_pyc_files: ...@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment