mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Remove unnecessary pass statement
This commit is contained in:
parent
6a8046970e
commit
4ebf7a3df4
1 changed files with 0 additions and 1 deletions
|
@ -239,7 +239,6 @@ def _check_private_key(name, bits=2048, passphrase=None,
|
|||
if not overwrite:
|
||||
raise salt.exceptions.CommandExecutionError(
|
||||
'The provided passphrase cannot decrypt the private key.')
|
||||
pass
|
||||
|
||||
return current_bits == bits and not new
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue