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
This commit is contained in:
parent
05b4f2ebc2
commit
f4464864c8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue