lib/codereview: fix doc/go1.*.txt exception

LGTM=r
R=r
CC=golang-codereviews
https://golang.org/cl/108950046
This commit is contained in:
Russ Cox 2014-06-12 20:12:50 -04:00
parent 3a6de21ae1
commit 32d8b9ffb8
1 changed files with 1 additions and 1 deletions

View File

@ -1954,7 +1954,7 @@ def submit(ui, repo, *pats, **opts):
if cl.cc:
about += "CC=" + JoinComma([CutDomain(s) for s in cl.cc]) + "\n"
if not cl.reviewer:
if not cl.reviewer and needLGTM(cl):
raise hg_util.Abort("no reviewers listed in CL")
if not cl.local: