diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2014-08-10 11:48:07 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2014-08-10 11:48:07 -0700 |
commit | 7714d08e2e4b1c7accd6113618651b42bdc942c1 (patch) | |
tree | b6c353c5f0942c95a3f2f75ade1a78e52200f797 /bin | |
parent | 17895bd6fda34ec10b46a339bf2210fee5a17723 (diff) | |
download | spack-7714d08e2e4b1c7accd6113618651b42bdc942c1.tar.gz spack-7714d08e2e4b1c7accd6113618651b42bdc942c1.tar.bz2 spack-7714d08e2e4b1c7accd6113618651b42bdc942c1.tar.xz spack-7714d08e2e4b1c7accd6113618651b42bdc942c1.zip |
Remvoe dependence on v2.7 argparse by including argparse.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/spack | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -28,7 +28,6 @@ if not sys.version_info[:2] >= (2,7): sys.exit("Spack requires Python 2.7. Version was %s." % sys.version_info) import os -import argparse # Find spack's location and its prefix. SPACK_FILE = os.path.realpath(os.path.expanduser(__file__)) @@ -51,6 +50,7 @@ del SPACK_FILE, SPACK_PREFIX, SPACK_LIB_PATH import llnl.util.tty as tty import spack from spack.error import SpackError +from external import argparse # Command parsing parser = argparse.ArgumentParser( |