1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

fixy typo

This commit is contained in:
Brian Coca 2018-04-20 11:21:45 -04:00 committed by Brian Coca
parent fe5e6d74af
commit 01e7f44e0d

View file

@ -107,7 +107,7 @@ class InventoryModule(BaseInventoryPlugin, Cacheable):
err = to_native(stderr or "") err = to_native(stderr or "")
if err and not err.endswith('\n'): if err and not err.endswith('\n'):
err =+ '\n' err += '\n'
if sp.returncode != 0: if sp.returncode != 0:
raise AnsibleError("Inventory script (%s) had an execution error: %s " % (path, err)) raise AnsibleError("Inventory script (%s) had an execution error: %s " % (path, err))