You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by se...@apache.org on 2015/10/17 01:40:40 UTC

svn commit: r1709126 - /comdev/projects.apache.org/scripts/committee_info.py

Author: sebb
Date: Fri Oct 16 23:40:40 2015
New Revision: 1709126

URL: http://svn.apache.org/viewvc?rev=1709126&view=rev
Log:
Use the url parameter rather than the URL constant

Modified:
    comdev/projects.apache.org/scripts/committee_info.py

Modified: comdev/projects.apache.org/scripts/committee_info.py
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/scripts/committee_info.py?rev=1709126&r1=1709125&r2=1709126&view=diff
==============================================================================
--- comdev/projects.apache.org/scripts/committee_info.py (original)
+++ comdev/projects.apache.org/scripts/committee_info.py Fri Oct 16 23:40:40 2015
@@ -64,7 +64,7 @@ def get_url_if_newer(url, dir, name):
     sinceTime = mod_date(fileTime)
     headers = {"If-Modified-Since" : sinceTime}
 
-    req = urllib.request.Request(URL, headers=headers)
+    req = urllib.request.Request(url, headers=headers)
     try:
         response = urllib.request.urlopen(req)
         lastMod = response.headers['Last-Modified']