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/20 00:19:16 UTC

[whimsy] branch master updated: Oops, too late to do this

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 1b2ca9f  Oops, too late to do this
1b2ca9f is described below

commit 1b2ca9f6238f0664879e2abe7d52c2775843ec4d
Author: Sebb <se...@apache.org>
AuthorDate: Fri Nov 20 00:19:07 2020 +0000

    Oops, too late to do this
---
 lib/whimsy/asf/podling.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/whimsy/asf/podling.rb b/lib/whimsy/asf/podling.rb
index ea19c1c..42d33b9 100644
--- a/lib/whimsy/asf/podling.rb
+++ b/lib/whimsy/asf/podling.rb
@@ -422,8 +422,8 @@ module ASF
         if name
           name.sub! /^Apache\s+/, ''
           name.gsub! /\s+\(.*?\)/, ''
-          name = nil if name =~ /^\s*This/ or name !~ /[A-Z]/ or name =~ %r{^N/A}
           name.sub('Open Climate Workench', 'Open Climate Workbench') # fix up typo in PODLINGNAMESEARCH-26
+          name = nil if name =~ /^\s*This/ or name !~ /[A-Z]/ or name =~ %r{^N/A}
         end
 
         name ||= title[/"Apache ([a-zA-Z].*?)"/, 1]