mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue