mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Merge pull request #8949 from s0undt3ch/develop
Fix spacing lint issues.
This commit is contained in:
commit
3bd204273f
@ -2969,17 +2969,15 @@ def grep(path,
|
||||
cmd = (
|
||||
r'''grep {options} {pattern} {path}'''
|
||||
.format(
|
||||
options = options,
|
||||
pattern = pattern,
|
||||
path = path,
|
||||
options=options,
|
||||
pattern=pattern,
|
||||
path=path,
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
try:
|
||||
ret = __salt__['cmd.run_all'](cmd)
|
||||
except (IOError, OSError) as exc:
|
||||
raise CommandExecutionError(exc.strerror)
|
||||
|
||||
return ret
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user