From: Russ Cox Date: Fri, 13 Jun 2014 00:12:50 +0000 (-0400) Subject: lib/codereview: fix doc/go1.*.txt exception X-Git-Tag: go1.4beta1~1298 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=32d8b9ffb8a83dc0d82a1a7474f47ed9bc200b7e;p=gostls13.git lib/codereview: fix doc/go1.*.txt exception LGTM=r R=r CC=golang-codereviews https://golang.org/cl/108950046 --- diff --git a/lib/codereview/codereview.py b/lib/codereview/codereview.py index e8d3e20146..e07b1ce2c8 100644 --- a/lib/codereview/codereview.py +++ b/lib/codereview/codereview.py @@ -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: