mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Fix up modules that have python24 syntax error
This commit is contained in:
@@ -110,7 +110,7 @@ def apply_patch(patch_func, patch_file, basedir, dest_file=None, strip=0, dry_ru
|
||||
|
||||
(rc, out, err) = patch_func(opts)
|
||||
if rc != 0:
|
||||
msg = out if not err else err
|
||||
msg = err or out
|
||||
raise PatchError(msg)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user