mirror of https://github.com/golang/go.git
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
|
|
@ -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…
Reference in New Issue