euscanwww/api: remove traces
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
This commit is contained in:
parent
0d5e1e0901
commit
204c53b66f
@ -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']))
|
||||
|
Loading…
Reference in New Issue
Block a user