[1.1.X] Fixed #12655 - diffsettings command now returns the diff instead 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
This commit is contained in:
Jannis Leidel 2010-02-22 00:43:29 +00:00
parent 4261efdc67
commit 713bac952f
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)