Fix stale code in python version test so that it actually works.

This commit is contained in:
Todd Gamblin 2015-12-19 20:04:00 -08:00
parent e403576cf9
commit 32f96b5c73
2 changed files with 2 additions and 5 deletions

View File

@ -30,7 +30,8 @@
StandardModules = {
"__future__": (2, 1),
"abc": (2, 6),
"argparse": (2, 7),
# skip argparse now that it's in lib/spack/external
# "argparse": (2, 7),
"ast": (2, 6),
"atexit": (2, 0),
"bz2": (2, 3),

View File

@ -63,10 +63,6 @@ def check_python_versions(self, *files):
all_issues = {}
for fn in files:
if fn != '/Users/gamblin2/src/spack/var/spack/packages/vim/package.py':
continue
print fn
with open(fn) as pyfile:
versions = pyqver2.get_versions(pyfile.read())
for ver, reasons in versions.items():