From 97ece2e228fff78d9f80fdcaf45f2a362fe205b5 Mon Sep 17 00:00:00 2001 From: Alexander Goscinski Date: Mon, 25 Nov 2024 16:42:04 +0100 Subject: [PATCH] Update src/aiida/cmdline/commands/cmd_computer.py --- src/aiida/cmdline/commands/cmd_computer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aiida/cmdline/commands/cmd_computer.py b/src/aiida/cmdline/commands/cmd_computer.py index 820f762cf8..f50c2d59bb 100644 --- a/src/aiida/cmdline/commands/cmd_computer.py +++ b/src/aiida/cmdline/commands/cmd_computer.py @@ -634,7 +634,7 @@ def _dry_run_callback(pks): if pks: echo.echo_report('The nodes with the following pks would be deleted: ' + ' '.join(map(str, pks))) echo.echo_warning(f'YOU ARE ABOUT TO DELETE {len(pks)} NODES! THIS CANNOT BE UNDONE!') - click.confirm('Shall I continue?', default=False) + confirm = click.confirm('Shall I continue?', default=False) if not confirm: raise click.Abort return not confirm