mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
lib/codereview: return an empty list when CONTRIBUTORS is not found instead of None.
R=adg, campoy, r CC=golang-dev https://golang.org/cl/14419059
This commit is contained in:
parent
50d4dae80b
commit
b6c0c4228d
1 changed files with 1 additions and 1 deletions
|
|
@ -984,7 +984,7 @@ def ReadContributors(ui, repo):
|
|||
f = open(repo.root + '/CONTRIBUTORS', 'r')
|
||||
except:
|
||||
ui.write("warning: cannot open %s: %s\n" % (opening, ExceptionDetail()))
|
||||
return
|
||||
return {}
|
||||
|
||||
contributors = {}
|
||||
for line in f:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue