Skip to content
Browse files

Fixed #12655 - diffsettings command now returns the diff instead of p…

…rinting. Thanks, jobscry.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12463 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 579e857 commit d2d8b793192d3ad6a87796a8b5fc7de4229c1c79 @jezdez jezdez committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/core/management/commands/diffsettings.py
View
2 django/core/management/commands/diffsettings.py
@@ -29,4 +29,4 @@ def handle_noargs(self, **options):
output.append("%s = %s ###" % (key, user_settings[key]))
elif user_settings[key] != default_settings[key]:
output.append("%s = %s" % (key, user_settings[key]))
- print '\n'.join(output)
+ return '\n'.join(output)

0 comments on commit d2d8b79

Please sign in to comment.
Something went wrong with that request. Please try again.