Skip to content

Commit 3e1e451

Browse files
committed
Remove unnecessary references
1 parent d339f5e commit 3e1e451

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

salt/modules/ssh_pki.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,8 @@
135135
HAS_CRYPTOGRAPHY = False
136136

137137
import salt.utils.atomicfile
138-
import salt.utils.dictupdate
139138
import salt.utils.files
140139
import salt.utils.functools
141-
import salt.utils.stringutils
142140
import salt.utils.timeutil as time
143141
from salt.exceptions import CommandExecutionError, SaltInvocationError
144142

@@ -359,7 +357,6 @@ def create_private_key(
359357
pubkey_suffix=".pub",
360358
overwrite=False,
361359
raw=False,
362-
**kwargs,
363360
):
364361
"""
365362
Create a private key.

salt/states/ssh_pki.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -806,9 +806,7 @@ def public_key_managed(name, public_key_source, passphrase=None, **kwargs):
806806
return ret
807807

808808

809-
def certificate_managed_ssh(
810-
name, result, comment, changes, encoding=None, contents=None, **kwargs
811-
):
809+
def certificate_managed_ssh(name, result, comment, changes, contents=None, **kwargs):
812810
"""
813811
Helper for the SSH wrapper module.
814812
This receives a certificate and dumps the data to the target.

0 commit comments

Comments
 (0)