Backport/2.7/46157 (#47558)

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


(cherry picked from commit ecdcb6a09f)

* Added changelog for previous change.
pull/47651/head
Florian Apolloner 7 years ago committed by Toshio Kuratomi
parent b5c69b83ca
commit be05dcdbfb

@ -0,0 +1,2 @@
bugfixes:
- django_manage - Changed the return type of the changed variable to bool.

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

Loading…
Cancel
Save