diff options
-rw-r--r-- | patchwork/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/patchwork/models.py b/patchwork/models.py index a237964..88af2f0 100644 --- a/patchwork/models.py +++ b/patchwork/models.py @@ -580,7 +580,7 @@ class Check(models.Model): return "<Check id='%d' context='%s' state='%s'" % ( self.id, self.context, self.get_state_display()) - def __unicode__(self): + def __str__(self): return '%s (%s)' % (self.context, self.get_state_display()) |