Skip to content
Snippets Groups Projects
Commit ab3bf619 authored by Todd Gamblin's avatar Todd Gamblin
Browse files

Fix for SPACK-50

Bad format string in version check.
parent 5a3a838f
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,8 @@
##############################################################################
import sys
if not sys.version_info[:2] >= (2,6):
sys.exit("Spack requires Python 2.6. Version was %s." % sys.version_info)
v_info = sys.version_info[:3]
sys.exit("Spack requires Python 2.6 or higher. This is Python %d.%d.%d." % v_info)
import os
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment