1
0
mirror of https://github.com/golang/go synced 2024-11-25 07:07:57 -07:00

dashboard: yet another utf-8 fix

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/4964052
This commit is contained in:
Russ Cox 2011-08-30 09:00:33 -04:00
parent 4fb3c4f765
commit 79260e5bfe

View File

@ -279,7 +279,7 @@ class CommitHandler(DashboardHandler):
n.parentnode = parenthash n.parentnode = parenthash
n.user = user n.user = user
n.date = date n.date = date
n.desc = desc.encode('utf8') n.desc = desc
n.put() n.put()
db.run_in_transaction(add_commit) db.run_in_transaction(add_commit)
n = nodeByHash(node) n = nodeByHash(node)