mirror of
https://github.com/golang/go
synced 2024-11-25 07:57:56 -07:00
codereview: show 'not lgtms' in hg p output (with lgtms)
R=golang-dev, iant CC=golang-dev https://golang.org/cl/7245043
This commit is contained in:
parent
56517aed95
commit
e1448c07e1
@ -544,7 +544,7 @@ def LoadCL(ui, repo, name, web=True):
|
||||
cl.private = d.get('private', False) != False
|
||||
cl.lgtm = []
|
||||
for m in d.get('messages', []):
|
||||
if m.get('approval', False) == True:
|
||||
if m.get('approval', False) == True or m.get('disapproval', False) == True:
|
||||
who = re.sub('@.*', '', m.get('sender', ''))
|
||||
text = re.sub("\n(.|\n)*", '', m.get('text', ''))
|
||||
cl.lgtm.append((who, text))
|
||||
|
Loading…
Reference in New Issue
Block a user