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

pull/47557/head
Florian Apolloner 6 years ago committed by John R Barker
parent 5ba4e4411b
commit ecdcb6a09f

@ -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'])

Loading…
Cancel
Save