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 1f0729ef Check all non-error for disclaimer
1f0729ef is described below

commit 1f0729ef9972821b14497b46090a3d843402a5b0
Author: Sebb <[email protected]>
AuthorDate: Tue May 7 08:09:18 2024 +0100

    Check all non-error for disclaimer
---
 tools/site-scan.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/site-scan.rb b/tools/site-scan.rb
index e40e5462..70494439 100755
--- a/tools/site-scan.rb
+++ b/tools/site-scan.rb
@@ -212,7 +212,7 @@ def parse(id, site, name, podling=false)
         else
           puts "#{id} #{subpage} => #{uri} #{status}"
         end
-        if %w{unchanged recent updated}.include? status
+        unless status == 'error'
           if response =~ 
SiteStandards::PODLING_CHECKS['disclaimer'][SiteStandards::CHECK_CAPTURE]
             hasdisclaimer += 1
           else

Reply via email to