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: Allow for line-wrap in disclaimer
Date Wed, 20 May 2020 10:50:25 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 1283034  Allow for line-wrap in disclaimer
1283034 is described below

commit 12830346150ce16fa33cd409c7143ea99e81099e
Author: Sebb <sebb@apache.org>
AuthorDate: Wed May 20 11:50:18 2020 +0100

    Allow for line-wrap in disclaimer
---
 tools/download_check.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/download_check.rb b/tools/download_check.rb
index 7a10ba4..6d21725 100755
--- a/tools/download_check.rb
+++ b/tools/download_check.rb
@@ -332,7 +332,7 @@ def _checkDownloadPage(path, tlp, version)
   
   return unless body
 
-  hasDisclaimer = body.include? 'Incubation is required of all newly accepted'
+  hasDisclaimer = body.gsub(%r{\s+},' ').include? 'Incubation is required of all newly accepted'
 
   if isTLP
      W "#{tlp} has Incubator disclaimer" if hasDisclaimer


Mime
View raw message