Fix stale code in python version test so that it actually works.
This commit is contained in:
parent
e403576cf9
commit
32f96b5c73
3
lib/spack/external/pyqver2.py
vendored
3
lib/spack/external/pyqver2.py
vendored
@ -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),
|
||||
|
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user