Commit 39194de8 authored by Andrew Gerrand's avatar Andrew Gerrand

misc/dashboard: remove limit for json package list

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/4937048
parent e656a184
...@@ -211,7 +211,7 @@ class PackagePage(webapp.RequestHandler): ...@@ -211,7 +211,7 @@ class PackagePage(webapp.RequestHandler):
q = Package.all() q = Package.all()
s = '{"packages": [' s = '{"packages": ['
sep = '' sep = ''
for r in q.fetch(1000): for r in q:
s += '%s\n\t{"path": "%s", "last_install": "%s", "count": "%s"}' % (sep, r.path, r.last_install, r.count) s += '%s\n\t{"path": "%s", "last_install": "%s", "count": "%s"}' % (sep, r.path, r.last_install, r.count)
sep = ',' sep = ','
s += '\n]}\n' s += '\n]}\n'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment