summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2014-08-10 11:48:07 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2014-08-10 11:48:07 -0700
commit7714d08e2e4b1c7accd6113618651b42bdc942c1 (patch)
treeb6c353c5f0942c95a3f2f75ade1a78e52200f797 /bin
parent17895bd6fda34ec10b46a339bf2210fee5a17723 (diff)
downloadspack-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-xbin/spack2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/spack b/bin/spack
index c63178b191..0af8d62b5e 100755
--- a/bin/spack
+++ b/bin/spack
@@ -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(