Skip to content

Commit

Permalink
remove duplicate
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsewell committed Jan 7, 2021
1 parent 8c99759 commit d6eec5e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion aiida/cmdline/commands/cmd_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ def _dry_run_callback(pks):
echo.echo_warning(f'YOU ARE ABOUT TO DELETE {len(pks)} NODES! THIS CANNOT BE UNDONE!')
return not click.confirm('Shall I continue?', abort=True)

DELETE_LOGGER.setLevel(verbosity)
with override_log_formatter_context('%(message)s'):
_, was_deleted = delete_nodes(node_pks_to_delete, dry_run=dry_run or _dry_run_callback)

Expand Down

0 comments on commit d6eec5e

Please sign in to comment.