mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Pylint fix
This commit is contained in:
parent
8d9acd1f89
commit
577f41972e
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ def _add_var(var, value):
|
|||
fullvar = '{0}="{1}"'.format(var, value)
|
||||
if __salt__['file.contains'](makeconf, layman):
|
||||
# TODO perhaps make this a function in the file module?
|
||||
cmd = ['sed', '-i', '/{0}/ i\{1}'.format(
|
||||
cmd = ['sed', '-i', r'/{0}/ i\{1}'.format(
|
||||
layman.replace('/', '\\/'),
|
||||
fullvar),
|
||||
makeconf]
|
||||
|
|
Loading…
Add table
Reference in a new issue