From f4464864c825cf534776c23beab84e79466b140d Mon Sep 17 00:00:00 2001 From: Luke Plant Date: Wed, 4 May 2011 17:36:34 +0000 Subject: [PATCH] Fixed up bad return value introduced in [16120]. Refs #15661. Thanks to philippedelorme for the catch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16151 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/admin/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/admin/models.py b/django/contrib/admin/models.py index ae71622881..3f7dece0fe 100644 --- a/django/contrib/admin/models.py +++ b/django/contrib/admin/models.py @@ -42,7 +42,7 @@ class LogEntry(models.Model): elif self.action_flag == DELETION: return _('Deleted "%(object)s."') % {'object': self.object_repr} - return_value = _('LogEntry Object') + return _('LogEntry Object') def is_addition(self): return self.action_flag == ADDITION