Merge pull request #8949 from s0undt3ch/develop

Fix spacing lint issues.
This commit is contained in:
Pedro Algarvio 2013-12-02 10:49:24 -08:00
commit 3bd204273f

View File

@ -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