mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Fix pylint errors.
This commit is contained in:
parent
76c1702f03
commit
8ecb55f9e1
@ -169,7 +169,7 @@ def execute(context=None, lens=None, commands=()):
|
||||
elif method == 'insert':
|
||||
label, where, path = parts
|
||||
if where not in ("before", "after"):
|
||||
raise ValueError("Expected 'before' or 'after', not %r" % (where,))
|
||||
raise ValueError("Expected 'before' or 'after', not %r" % (where,))
|
||||
path = make_path(path)
|
||||
args = {'path': path, 'label': label, 'before': where == 'before'}
|
||||
elif method == 'remove':
|
||||
|
Loading…
Reference in New Issue
Block a user