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: Unused
Date Wed, 10 May 2017 22:55:53 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  3464b50   Unused
3464b50 is described below

commit 3464b506afedbe9e81219b3a71fbba02a4c6dfc4
Author: Sebb <sebb@apache.org>
AuthorDate: Wed May 10 23:55:52 2017 +0100

    Unused
---
 tools/site-scan.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/site-scan.rb b/tools/site-scan.rb
index e0bcdb1..9a0d6fd 100755
--- a/tools/site-scan.rb
+++ b/tools/site-scan.rb
@@ -27,7 +27,7 @@ def fetch(uri, depth=1)
       $stderr.puts "Redirect #{uri}" if $verbose
       fetch response['location'], depth+1
     else
-      return uri, request, response
+      return uri, response
     end
   end
 end
@@ -37,7 +37,7 @@ def squash(text)
 end
 
 def parse(site, name)
-  uri, request, response = fetch(site)
+  uri, response = fetch(site)
   doc = Nokogiri::HTML(response.body)
 
   # default data

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <commits@whimsical.apache.org>'].

Mime
View raw message