Skip to content

Commit

Permalink
Update src/aiida/cmdline/commands/cmd_computer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
agoscinski authored Nov 25, 2024
1 parent c782e9a commit ce1ff59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aiida/cmdline/commands/cmd_computer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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!')
confirm = click.prompt('Shall I continue? [yes/NO]', type=str) == 'yes'
click.confirm('Shall I continue?', default=False)
if not confirm:
raise click.Abort
return not confirm
Expand Down

0 comments on commit ce1ff59

Please sign in to comment.