whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Oops, also set second variable to empty string
Date Thu, 11 Jul 2019 09:19:58 GMT
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 d2440ce  Oops, also set second variable to empty string
d2440ce is described below

commit d2440ce294a0fa163e19f59c9404923b7dde44fc
Author: Sebb <sebb@apache.org>
AuthorDate: Thu Jul 11 10:19:48 2019 +0100

    Oops, also set second variable to empty string
---
 www/secretary/workbench/views/actions/check-signature.json.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/secretary/workbench/views/actions/check-signature.json.rb b/www/secretary/workbench/views/actions/check-signature.json.rb
index eb84a9d..b56466b 100644
--- a/www/secretary/workbench/views/actions/check-signature.json.rb
+++ b/www/secretary/workbench/views/actions/check-signature.json.rb
@@ -36,7 +36,7 @@ begin
     # extract and fetch key
     keyid = err[/[RD]SA key (ID )?(\w+)/,2].untaint
 
-    out2, err2 = '' # needed later
+    out2 = err2 = '' # needed later
     KEYSERVERS.each do |server|
       out2, err2, rc2 = Open3.capture3 gpg, '--keyserver', server,
         '--debug', 'ipc', # seems to show communication with dirmngr


Mime
View raw message