summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2016-06-09 10:51:29 -0400
committerBen Boeckel <ben.boeckel@kitware.com>2016-06-29 14:49:58 -0400
commit5f720f9b7c0e507c2a0335ce9840036ad0b9262f (patch)
treec6510dd73ee9871b3ed133a7cea67668119e1c04 /lib
parente3e94f0ac96db3c1ddd51555fec5a2bf71b867bf (diff)
downloadspack-5f720f9b7c0e507c2a0335ce9840036ad0b9262f.tar.gz
spack-5f720f9b7c0e507c2a0335ce9840036ad0b9262f.tar.bz2
spack-5f720f9b7c0e507c2a0335ce9840036ad0b9262f.tar.xz
spack-5f720f9b7c0e507c2a0335ce9840036ad0b9262f.zip
flake8: appease the style checker
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/cmd/bootstrap.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/spack/spack/cmd/bootstrap.py b/lib/spack/spack/cmd/bootstrap.py
index 04892e258d..60e2bd3a11 100644
--- a/lib/spack/spack/cmd/bootstrap.py
+++ b/lib/spack/spack/cmd/bootstrap.py
@@ -23,7 +23,6 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
##############################################################################
import os
-from subprocess import check_call
import llnl.util.tty as tty
from llnl.util.filesystem import join_path, mkdirp
@@ -35,11 +34,14 @@ _SPACK_UPSTREAM = 'https://github.com/llnl/spack'
description = "Create a new installation of spack in another prefix"
+
def setup_parser(subparser):
subparser.add_argument(
'-r', '--remote', action='store', dest='remote',
help="name of the remote to bootstrap from", default='origin')
- subparser.add_argument('prefix', help="names of prefix where we should install spack")
+ subparser.add_argument(
+ 'prefix',
+ help="names of prefix where we should install spack")
def get_origin_info(remote):
@@ -82,7 +84,8 @@ def bootstrap(parser, args):
files_in_the_way = os.listdir(prefix)
if files_in_the_way:
- tty.die("There are already files there! Delete these files before boostrapping spack.",
+ tty.die("There are already files there! "
+ "Delete these files before boostrapping spack.",
*files_in_the_way)
tty.msg("Installing:",