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

Changed django_manage to return changed as boolean consistently (#46157)

This commit is contained in:
Florian Apolloner 2018-10-24 13:56:37 +02:00 committed by John R Barker
parent 5ba4e4411b
commit ecdcb6a09f

View file

@ -301,7 +301,7 @@ def main():
if filt: if filt:
filtered_output = list(filter(filt, lines)) filtered_output = list(filter(filt, lines))
if len(filtered_output): if len(filtered_output):
changed = filtered_output changed = True
module.exit_json(changed=changed, out=out, cmd=cmd, app_path=app_path, virtualenv=virtualenv, module.exit_json(changed=changed, out=out, cmd=cmd, app_path=app_path, virtualenv=virtualenv,
settings=module.params['settings'], pythonpath=module.params['pythonpath']) settings=module.params['settings'], pythonpath=module.params['pythonpath'])