You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2020/11/19 11:54:10 UTC

[whimsy] branch master updated: Don't use _ for used variables

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 3ba9dc2  Don't use _ for used variables
3ba9dc2 is described below

commit 3ba9dc27643c6d82e8bb8d5e9f1d0ad869cc751f
Author: Sebb <se...@apache.org>
AuthorDate: Thu Nov 19 11:54:01 2020 +0000

    Don't use _ for used variables
---
 lib/whimsy/asf/podling.rb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/whimsy/asf/podling.rb b/lib/whimsy/asf/podling.rb
index 1c3c12e..487cc6e 100644
--- a/lib/whimsy/asf/podling.rb
+++ b/lib/whimsy/asf/podling.rb
@@ -297,9 +297,9 @@ module ASF
     end
 
     # Match against new and old list types
-    def _match_mailname?(list, _name)
-      return true if list.start_with?("#{_name}-")
-      return true if list.start_with?("incubator-#{_name}-")
+    def _match_mailname?(list, name)
+      return true if list.start_with?("#{name}-")
+      return true if list.start_with?("incubator-#{name}-")
     end
 
     # status information associated with this podling.  Keys in the hash return