whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] branch master updated: fix syntax error and break out of loop
Date Wed, 07 Jun 2017 19:25:21 GMT
This is an automated email from the ASF dual-hosted git repository.

rubys 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 9b751d2  fix syntax error and break out of loop
9b751d2 is described below

commit 9b751d23b0732d56a49a0104b53c1bd5ea675d0f
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Wed Jun 7 15:25:06 2017 -0400

    fix syntax error and break out of loop
---
 tools/pubsub.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/pubsub.rb b/tools/pubsub.rb
index 38990e9..131ffe2 100644
--- a/tools/pubsub.rb
+++ b/tools/pubsub.rb
@@ -47,7 +47,7 @@ optionparser = OptionParser.new do |opts|
     options.daemonize = true
   end
 
-  opts.on ''--puppet', "Use puppet agent to update" do
+  opts.on '--puppet', "Use puppet agent to update" do
     options.puppet = true
   end
 
@@ -196,7 +196,7 @@ begin
         end
       end
     end
-    next if mtime != File.mtime(__FILE__)
+    break if mtime != File.mtime(__FILE__)
   end
 rescue SignalException => e
   STDERR.puts e

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <commits@whimsical.apache.org>'].

Mime
View raw message