mirror of
https://github.com/golang/go
synced 2024-11-22 00:34:40 -07:00
misc/dashboard: remove limit for json package list
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/4937048
This commit is contained in:
parent
e656a184cb
commit
39194de8ca
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user