Kaydet (Commit) d2d8b793 authored tarafından Jannis Leidel's avatar Jannis Leidel

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
üst 579e8573
...@@ -29,4 +29,4 @@ class Command(NoArgsCommand): ...@@ -29,4 +29,4 @@ class Command(NoArgsCommand):
output.append("%s = %s ###" % (key, user_settings[key])) output.append("%s = %s ###" % (key, user_settings[key]))
elif user_settings[key] != default_settings[key]: elif user_settings[key] != default_settings[key]:
output.append("%s = %s" % (key, user_settings[key])) output.append("%s = %s" % (key, user_settings[key]))
print '\n'.join(output) return '\n'.join(output)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment