mirror of
https://github.com/golang/go.git
synced 2024-09-22 10:58:58 +00:00
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:
parent
cd82d490fc
commit
9c13215859
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user