From 29562596c3c31dad71d5fe0766a7ab58eacad873 Mon Sep 17 00:00:00 2001 From: Gregory Becker Date: Fri, 22 Jan 2021 18:36:17 -0800 Subject: [PATCH] fixup imports --- lib/spack/spack/cmd/checkout.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/spack/spack/cmd/checkout.py b/lib/spack/spack/cmd/checkout.py index c368415ec50..7235583896c 100644 --- a/lib/spack/spack/cmd/checkout.py +++ b/lib/spack/spack/cmd/checkout.py @@ -2,11 +2,9 @@ # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) - -import sys - import llnl.util.tty as tty -from spack.util.executable import ProcessError, which +from spack.util.executable import which +import spack.cmd.common.deployment as deployment _SPACK_UPSTREAM = 'https://github.com/spack/spack' @@ -60,7 +58,7 @@ def checkout(parser, args): deployment.setup_deployment_args('checkout', args, deployment_required_args) - remote = args.remote or origin + remote = args.remote or 'origin' url = args.url ref = args.ref