Skip to content

Commit

Permalink
[1.1.X] Fixed #12655 - diffsettings command now returns the diff inst…
Browse files Browse the repository at this point in the history
…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
jezdez committed Feb 22, 2010
1 parent 4261efd commit 713bac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/core/management/commands/diffsettings.py
Expand Up @@ -29,4 +29,4 @@ def handle_noargs(self, **options):
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)

0 comments on commit 713bac9

Please sign in to comment.