Skip to content

Commit

Permalink
try removing extra quote
Browse files Browse the repository at this point in the history
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
  • Loading branch information
vsoch committed May 11, 2021
1 parent b79dac7 commit 8179610
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/spack/spack/cmd/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ def parse_specs(args, **kwargs):

try:
sargs = args
if not isinstance(args, six.string_types):
sargs = ' '.join(spack.util.string.quote(args))
if not isinstance(sargs, six.string_types):
sargs = ' '.join(args)
specs = spack.spec.parse(sargs)
for spec in specs:
if concretize:
Expand Down
1 change: 0 additions & 1 deletion lib/spack/spack/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,6 @@ def __call__(self, *argv, **kwargs):
prepend + [self.command_name] + list(argv))

fail_on_error = kwargs.get('fail_on_error', True)

out = StringIO()
try:
with log_output(out):
Expand Down
1 change: 0 additions & 1 deletion lib/spack/spack/test/build_distribution.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def test_build_tarball_overwrite(
with tmpdir.as_cwd():
spec = spack.spec.Spec('trivial-install-test-package').concretized()
install(str(spec))

# Runs fine the first time, throws the second time
spack.binary_distribution.build_tarball(spec, '.', unsigned=True)
with pytest.raises(spack.binary_distribution.NoOverwriteException):
Expand Down

0 comments on commit 8179610

Please sign in to comment.