Fix mirror check unicode function

Needed a few self. qualifiers in there.

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2010-12-07 17:05:44 -06:00
parent fc3ab08cb5
commit 5db6522b35

View File

@ -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'