whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Ruby <ru...@apache.org>
Subject [whimsy.git] [1/1] Commit 6c67cb8: don't retry refreshes
Date Fri, 11 Mar 2016 13:25:53 GMT
Commit 6c67cb8337b819ab581d3bd5b9b8b00af4f379bc:
    don't retry refreshes


Branch: refs/heads/master
Author: Sam Ruby <rubys@intertwingly.net>
Committer: Sam Ruby <rubys@intertwingly.net>
Pusher: rubys <rubys@apache.org>

------------------------------------------------------------
www/board/agenda/models/agenda.rb                            | + -
------------------------------------------------------------
2 changes: 1 additions, 1 deletions.
------------------------------------------------------------


diff --git a/www/board/agenda/models/agenda.rb b/www/board/agenda/models/agenda.rb
index 69f95a1..34c6de8 100755
--- a/www/board/agenda/models/agenda.rb
+++ b/www/board/agenda/models/agenda.rb
@@ -57,7 +57,7 @@ def self.parse(file, mode)
 
   # update agenda file in SVN
   def self.update(file, message, retries=20, &block)
-    commit_rc = 999
+    commit_rc = (message ? 999 : 0)
 
     # Create a temporary work directory
     dir = Dir.mktmpdir

Mime
View raw message