Permalink
Browse files

[1.1.X] Fixed #12655 - diffsettings command now returns the diff inst…

…ead of printing. Thanks, jobscry.

Backport of r12463.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12480 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 4261efd commit 713bac952f44bde7b80b4266eecb270ea248f10d @jezdez jezdez committed Feb 22, 2010
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 713bac9

Please sign in to comment.