Author: lukeplant
Date: 2011-05-04 10:36:34 -0700 (Wed, 04 May 2011)
New Revision: 16151

Modified:
   django/trunk/django/contrib/admin/models.py
Log:
Fixed up bad return value introduced in [16120].

Refs #15661. Thanks to philippedelorme for the catch.

Modified: django/trunk/django/contrib/admin/models.py
===================================================================
--- django/trunk/django/contrib/admin/models.py 2011-05-03 13:52:39 UTC (rev 
16150)
+++ django/trunk/django/contrib/admin/models.py 2011-05-04 17:36:34 UTC (rev 
16151)
@@ -42,7 +42,7 @@
         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

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to