mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-11 15:15:26 +01:00
patch - add line break to fix pep8 error
This commit is contained in:
parent
4f2c75a775
commit
78623fd7de
1 changed files with 2 additions and 1 deletions
|
|
@ -207,7 +207,8 @@ def main():
|
||||||
p.src = os.path.abspath(p.src)
|
p.src = os.path.abspath(p.src)
|
||||||
|
|
||||||
changed = False
|
changed = False
|
||||||
if not is_already_applied(patch_func, p.src, p.basedir, dest_file=p.dest, binary=p.binary, ignore_whitespace=p.ignore_whitespace, strip=p.strip, state=p.state):
|
if not is_already_applied(patch_func, p.src, p.basedir, dest_file=p.dest, binary=p.binary,
|
||||||
|
ignore_whitespace=p.ignore_whitespace, strip=p.strip, state=p.state):
|
||||||
try:
|
try:
|
||||||
apply_patch(patch_func, p.src, p.basedir, dest_file=p.dest, binary=p.binary, ignore_whitespace=p.ignore_whitespace, strip=p.strip,
|
apply_patch(patch_func, p.src, p.basedir, dest_file=p.dest, binary=p.binary, ignore_whitespace=p.ignore_whitespace, strip=p.strip,
|
||||||
dry_run=module.check_mode, backup=p.backup, state=p.state)
|
dry_run=module.check_mode, backup=p.backup, state=p.state)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue