From 445bd7c80b896594b8fdeade425390dca1e8910d Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Fri, 10 Sep 2010 21:59:52 -0500 Subject: Remove some leftover print statements Signed-off-by: Dan McGee --- main/models.py | 2 -- mirrors/views.py | 1 - 2 files changed, 3 deletions(-) diff --git a/main/models.py b/main/models.py index 0f4ae96..e5b270e 100644 --- a/main/models.py +++ b/main/models.py @@ -138,8 +138,6 @@ class Package(models.Model): @property def signoffs(self): if 'signoffs_cache' in dir(self): - if len(self.signoffs_cache) > 0: - print self.signoffs_cache return self.signoffs_cache self.signoffs_cache = list(Signoff.objects.filter( pkg=self, diff --git a/mirrors/views.py b/mirrors/views.py index ff22dd5..ddc42cb 100644 --- a/mirrors/views.py +++ b/mirrors/views.py @@ -34,7 +34,6 @@ def generate(request): return direct_to_template(request, 'mirrors/index.html', {'mirrorlist_form': form}) def find_mirrors(request, countries=None, protocols=None): - print 'protocols', protocols if not protocols: protocols = MirrorProtocol.objects.exclude( protocol__iexact='rsync').values_list('protocol', flat=True) -- cgit v1.2.3-24-g4f1b