Skip to content

Commit 97ece2e

Browse files
committed
Update src/aiida/cmdline/commands/cmd_computer.py
1 parent 1183589 commit 97ece2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aiida/cmdline/commands/cmd_computer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ def _dry_run_callback(pks):
634634
if pks:
635635
echo.echo_report('The nodes with the following pks would be deleted: ' + ' '.join(map(str, pks)))
636636
echo.echo_warning(f'YOU ARE ABOUT TO DELETE {len(pks)} NODES! THIS CANNOT BE UNDONE!')
637-
click.confirm('Shall I continue?', default=False)
637+
confirm = click.confirm('Shall I continue?', default=False)
638638
if not confirm:
639639
raise click.Abort
640640
return not confirm

0 commit comments

Comments
 (0)