mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Another small concession to pylint
This commit is contained in:
parent
6e12c0569c
commit
925726819a
@ -79,7 +79,7 @@ def probe(*devices, **kwargs):
|
||||
devices = tuple([kwargs['device']] + list(devices))
|
||||
del kwargs['device']
|
||||
if kwargs:
|
||||
raise(TypeError("probe() takes no keyword arguments"))
|
||||
raise TypeError("probe() takes no keyword arguments")
|
||||
cmd = 'partprobe -- {0}'.format(" ".join(devices))
|
||||
out = __salt__['cmd.run'](cmd).splitlines()
|
||||
return out
|
||||
|
Loading…
Reference in New Issue
Block a user