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 extra whitespace
Date Sun, 09 Jun 2019 12:14:06 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 c054c99  allow for extra whitespace
c054c99 is described below

commit c054c99e7d3de074c48974a6b25214b14e07243e
Author: Sebb <sebb@apache.org>
AuthorDate: Sun Jun 9 13:13:52 2019 +0100

    allow for extra whitespace
---
 tools/mirror_check.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/mirror_check.rb b/tools/mirror_check.rb
index e1d4104..18b81c1 100755
--- a/tools/mirror_check.rb
+++ b/tools/mirror_check.rb
@@ -216,6 +216,7 @@ def checkHTTP(base)
   # - allows the input to be more flexible
 
   # Fix up the URL
+  base.strip!
   base += '/' unless base.end_with? '/'
   base = 'http://' + base unless base.start_with? 'http'
   # Now check the syntax:


Mime
View raw message