Commit b2a65588 authored by Russ Cox's avatar Russ Cox

codereview: convert email address from Rietveld to lower case

before looking for it in the CONTRIBUTORS file

R=r
CC=golang-dev
https://golang.org/cl/1883049
parent 323a116f
......@@ -1102,9 +1102,10 @@ def CheckContributor(ui, repo, user=None):
return userline
def FindContributor(ui, repo, user, warn=True):
user = user.lower()
m = re.match(r".*<(.*)>", user)
if m:
user = m.group(1).lower()
user = m.group(1)
if user not in contributors:
if warn:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment