minor review requests
This commit is contained in:
parent
af4cb0a14b
commit
a1d37bbd7a
@ -927,7 +927,7 @@ def __init__(
|
|||||||
pkg: the package to be built and installed
|
pkg: the package to be built and installed
|
||||||
request: the associated install request where ``None`` can be
|
request: the associated install request where ``None`` can be
|
||||||
used to indicate the package was explicitly requested by the user
|
used to indicate the package was explicitly requested by the user
|
||||||
compiler (bool): whether task is for a bootstrap compiler
|
compiler: whether task is for a bootstrap compiler
|
||||||
start: the initial start time for the package, in seconds
|
start: the initial start time for the package, in seconds
|
||||||
attempts: the number of attempts to install the package
|
attempts: the number of attempts to install the package
|
||||||
status: the installation status
|
status: the installation status
|
||||||
@ -2619,7 +2619,7 @@ def install(self):
|
|||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
with fs.replace_directory_transaction(self.task.pkg.prefix):
|
with fs.replace_directory_transaction(self.task.pkg.prefix):
|
||||||
return self.installer._install_task(self.task, self.install_status)
|
self.installer._install_task(self.task, self.install_status)
|
||||||
except fs.CouldNotRestoreDirectoryBackup as e:
|
except fs.CouldNotRestoreDirectoryBackup as e:
|
||||||
self.database.remove(self.task.pkg.spec)
|
self.database.remove(self.task.pkg.spec)
|
||||||
tty.error(
|
tty.error(
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
|
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
|
||||||
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
|
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
|
||||||
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||||
|
Loading…
Reference in New Issue
Block a user