rietveld does not like code reviews with subjects longer than 100 characters, so trim the line pulled out of the description to avoid the limit.

R=r
http://go/go-review/1016027
This commit is contained in:
Russ Cox 2009-11-02 11:37:21 -08:00
parent cd82d490fc
commit 9c13215859

View File

@ -145,6 +145,8 @@ class CL(object):
def Subject(self):
s = line1(self.desc)
if len(s) > 60:
s = s[0:55] + "..."
if self.name != "new":
s = "code review %s: %s" % (self.name, s)
return s