]> Cypherpunks repositories - gostls13.git/commitdiff
lib/codereview: fix doc/go1.*.txt exception
authorRuss Cox <rsc@golang.org>
Fri, 13 Jun 2014 00:12:50 +0000 (20:12 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 13 Jun 2014 00:12:50 +0000 (20:12 -0400)
LGTM=r
R=r
CC=golang-codereviews
https://golang.org/cl/108950046

lib/codereview/codereview.py

index e8d3e20146ec2514168e898ac67f50d08259e52b..e07b1ce2c866cda95b5ca9670b8b4ce68b8bab21 100644 (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: