From 5db6522b35dacf974c0e3a6cfb9d4beebfcee520 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 7 Dec 2010 17:05:44 -0600 Subject: Fix mirror check unicode function Needed a few self. qualifiers in there. Signed-off-by: Dan McGee --- mirrors/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirrors/models.py b/mirrors/models.py index f1286026..e070b1cd 100644 --- a/mirrors/models.py +++ b/mirrors/models.py @@ -80,7 +80,7 @@ class MirrorLog(models.Model): error = models.CharField(max_length=255, blank=True, default='') def __unicode__(self): - return "Check of %s at %s" % (url.url, check_time) + return "Check of %s at %s" % (self.url.url, self.check_time) class Meta: verbose_name = 'Mirror Check Log' -- cgit v1.2.3-55-g3dc8