mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-07-31 11:54:52 +00:00
patch - add line break to fix pep8 error
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user