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): ...@@ -1102,9 +1102,10 @@ def CheckContributor(ui, repo, user=None):
return userline return userline
def FindContributor(ui, repo, user, warn=True): def FindContributor(ui, repo, user, warn=True):
user = user.lower()
m = re.match(r".*<(.*)>", user) m = re.match(r".*<(.*)>", user)
if m: if m:
user = m.group(1).lower() user = m.group(1)
if user not in contributors: if user not in contributors:
if warn: 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