From 0930d0cc7403df2bee625f8458d618aab9c767c1 Mon Sep 17 00:00:00 2001 From: eliott Date: Sat, 5 Apr 2008 18:03:02 -0700 Subject: cleanup --- main/models.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'main/models.py') diff --git a/main/models.py b/main/models.py index 2fa7187e..a1314f8b 100644 --- a/main/models.py +++ b/main/models.py @@ -200,9 +200,11 @@ def get_absolute_url(self): def required_by_urlize(self): urls = [] - requiredby = PackageDepend.objects.filter(depname=self.pkgname).order_by('depname') + requiredby = PackageDepend.objects.filter( + depname=self.pkgname).order_by('depname') for req in requiredby: - urls.append('
  • %s
  • ' % (req.pkg.id,req.pkg.pkgname)) + urls.append('
  • %s
  • ' % \ + (req.pkg.id,req.pkg.pkgname)) return ''.join(urls) def depends_urlize(self): @@ -220,7 +222,7 @@ def depends_urlize(self): continue urls.append( '
  • %s%s
  • ' % \ - (p.id,dep.depname,dep.depvcmp)) + (p.id,dep.depname,dep.depvcmp)) return ''.join(urls) class PackageFile(models.Model): -- cgit v1.2.3-54-g00ecf