Title: [152717] trunk/Tools
Revision
152717
Author
[email protected]
Date
2013-07-16 05:58:57 -0700 (Tue, 16 Jul 2013)

Log Message

webkitpy: replace urllib with urllib2 for downloading additional modules
https://bugs.webkit.org/show_bug.cgi?id=118671

Patch by Brian Holt <[email protected]> on 2013-07-16
Reviewed by Ryosuke Niwa.

Urllib2 is available whereever urllib is, but has better proxy support.

* Scripts/webkitpy/common/system/autoinstall.py:
(AutoInstaller._download_to_stream):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (152716 => 152717)


--- trunk/Tools/ChangeLog	2013-07-16 12:55:56 UTC (rev 152716)
+++ trunk/Tools/ChangeLog	2013-07-16 12:58:57 UTC (rev 152717)
@@ -1,3 +1,15 @@
+2013-07-16  Brian Holt  <[email protected]>
+
+        webkitpy: replace urllib with urllib2 for downloading additional modules
+        https://bugs.webkit.org/show_bug.cgi?id=118671
+
+        Reviewed by Ryosuke Niwa.
+
+        Urllib2 is available whereever urllib is, but has better proxy support.
+
+        * Scripts/webkitpy/common/system/autoinstall.py:
+        (AutoInstaller._download_to_stream):
+
 2013-07-16  Krzysztof Czech  <[email protected]>
 
         [ATK] Adds support for aria-haspopup property.

Modified: trunk/Tools/Scripts/webkitpy/common/system/autoinstall.py (152716 => 152717)


--- trunk/Tools/Scripts/webkitpy/common/system/autoinstall.py	2013-07-16 12:55:56 UTC (rev 152716)
+++ trunk/Tools/Scripts/webkitpy/common/system/autoinstall.py	2013-07-16 12:58:57 UTC (rev 152717)
@@ -39,7 +39,7 @@
 import sys
 import tarfile
 import tempfile
-import urllib
+import urllib2
 import urlparse
 import zipfile
 
@@ -287,7 +287,7 @@
         failures = 0
         while True:
             try:
-                netstream = urllib.urlopen(url)
+                netstream = urllib2.urlopen(url)
                 break
             except IOError, err:
                 # Try multiple times
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to