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 2021/10/13 16:03:11 UTC
[whimsy] branch master updated: Allow for Digest
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 798fd7e Allow for Digest
798fd7e is described below
commit 798fd7e4df340fc6d1cecb34b3734c3906a147a4
Author: Sebb <se...@apache.org>
AuthorDate: Wed Oct 13 17:03:05 2021 +0100
Allow for Digest
---
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 e05b7e0..a72e204 100755
--- a/tools/download_check.rb
+++ b/tools/download_check.rb
@@ -544,7 +544,7 @@ def _checkDownloadPage(path, tlp, version)
tmp = text2ext(t)
next if ext == tmp # i.e. link is just the type or [TYPE]
next if ext == 'sha' and tmp == 'sha1' # historic
- next if (ext == 'sha256' or ext == 'sha512') and (t == 'SHA' or t == 'digest' or t == 'Digest') # generic
+ next if %w(sha256 sha512 sha1).include?(ext) and %w(SHA digest Digest).include?(t) # generic
next if ext == 'mds' and (tmp == 'hashes' or t == 'Digests')
if base != t
if t == 'Download' # MXNet