From 204c53b66f6d8361d84d0c6b29fef6741147c682 Mon Sep 17 00:00:00 2001 From: Corentin Chary Date: Thu, 17 Nov 2011 12:11:02 +0100 Subject: [PATCH] euscanwww/api: remove traces Signed-off-by: Corentin Chary --- euscanwww/api/handlers.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/euscanwww/api/handlers.py b/euscanwww/api/handlers.py index 9e08915..0b81e4c 100644 --- a/euscanwww/api/handlers.py +++ b/euscanwww/api/handlers.py @@ -36,7 +36,6 @@ class StatisticsHandler(AnonymousBaseHandler): allowed_methods = ('GET',) def read(self, request): - print request data = {} data['n_packaged'] = xint(Package.objects.aggregate(Sum('n_packaged'))['n_packaged__sum']) data['n_overlay'] = xint(Package.objects.aggregate(Sum('n_overlay'))['n_overlay__sum']) @@ -130,10 +129,8 @@ class PackageHandler(AnonymousBaseHandler): herds = [] for herd in package.herds.all(): - print herd herds.append(model_to_dict(herd, ['herd'])) - maintainers = [] for maintainer in package.maintainers.all(): maintainers.append(model_to_dict(maintainer, ['name', 'email']))