Fixed #12655 - diffsettings command now returns the diff instead of printing. Thanks, jobscry.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12463 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jannis Leidel 2010-02-21 23:39:27 +00:00
parent 579e8573c8
commit d2d8b79319
1 changed files with 1 additions and 1 deletions

View File

@ -29,4 +29,4 @@ class Command(NoArgsCommand):
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)