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: Bug: need to check class
Date Thu, 24 Oct 2019 13:11:59 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 4d2ae92  Bug: need to check class
4d2ae92 is described below

commit 4d2ae9233bc1e3e92b55e6798d2e93fb8b567779
Author: Sebb <sebb@apache.org>
AuthorDate: Thu Oct 24 14:11:56 2019 +0100

    Bug: need to check class
---
 lib/whimsy/asf/site.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/whimsy/asf/site.rb b/lib/whimsy/asf/site.rb
index 6e1f582..3f41884 100644
--- a/lib/whimsy/asf/site.rb
+++ b/lib/whimsy/asf/site.rb
@@ -30,7 +30,7 @@ module ASF
 
     # find the data for a given committee.
     def self.find(committee)
-      committee = committee.name if ASF::Committee == committee
+      committee = committee.name if committee.is_a? ASF::Committee
       list[committee]
     end
 


Mime
View raw message