This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 940292e Docn
940292e is described below
commit 940292e560684e32d63ab44d501cf054f3e9165a
Author: Sebb <[email protected]>
AuthorDate: Tue Jul 3 23:33:02 2018 +0100
Docn
---
www/project/icla/main.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/project/icla/main.rb b/www/project/icla/main.rb
index 34eada3..21facf0 100755
--- a/www/project/icla/main.rb
+++ b/www/project/icla/main.rb
@@ -41,7 +41,7 @@ helpers do
# the file name is '/srv/<token>.json
filename = '/srv/icla/' + token + '.json'
begin
- JSON.parse(File.read(filename))
+ JSON.parse(File.read(filename)) # TODO does this need a read lock?
rescue SystemCallError => e
{
phase: 'error', errorMessage: e.message, errorCode: e.errno