Title: [99341] trunk/Tools
- Revision
- 99341
- Author
- [email protected]
- Date
- 2011-11-04 17:58:27 -0700 (Fri, 04 Nov 2011)
Log Message
Upgrade to the latest Mechanize
https://bugs.webkit.org/show_bug.cgi?id=71594
Reviewed by Adam Barth.
I noticed our mechanize was somewhat out of date when removing Python 2.5 support.
Mechanize is no longer two separate libraries, so importing it is much simpler.
* Scripts/webkitpy/thirdparty/__init__.py:
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (99340 => 99341)
--- trunk/Tools/ChangeLog 2011-11-05 00:58:08 UTC (rev 99340)
+++ trunk/Tools/ChangeLog 2011-11-05 00:58:27 UTC (rev 99341)
@@ -1,3 +1,15 @@
+2011-11-04 Eric Seidel <[email protected]>
+
+ Upgrade to the latest Mechanize
+ https://bugs.webkit.org/show_bug.cgi?id=71594
+
+ Reviewed by Adam Barth.
+
+ I noticed our mechanize was somewhat out of date when removing Python 2.5 support.
+ Mechanize is no longer two separate libraries, so importing it is much simpler.
+
+ * Scripts/webkitpy/thirdparty/__init__.py:
+
2011-11-04 Stephen Chenney <[email protected]>
Crash in ScrollAnimator.cpp
Modified: trunk/Tools/Scripts/webkitpy/thirdparty/__init__.py (99340 => 99341)
--- trunk/Tools/Scripts/webkitpy/thirdparty/__init__.py 2011-11-05 00:58:08 UTC (rev 99340)
+++ trunk/Tools/Scripts/webkitpy/thirdparty/__init__.py 2011-11-05 00:58:27 UTC (rev 99341)
@@ -24,7 +24,6 @@
"""Autoinstalls third-party code required by WebKit."""
-from __future__ import with_statement
import codecs
import os
@@ -85,22 +84,9 @@
self._install_buildbot()
def _install_mechanize(self):
- # The mechanize package uses ClientForm, for example, in _html.py.
- # Since mechanize imports ClientForm in the following way,
- #
- # > import sgmllib, ClientForm
- #
- # the search path needs to include ClientForm. We put ClientForm in
- # its own directory so that we can include it in the search path
- # without including other modules as a side effect.
- clientform_dir = self._fs.join(_AUTOINSTALLED_DIR, "clientform")
- installer = AutoInstaller(append_to_search_path=True, target_dir=clientform_dir)
- installer.install(url=""
- url_subpath="ClientForm.py")
+ self._install("http://pypi.python.org/packages/source/m/mechanize/mechanize-0.2.5.tar.gz",
+ "mechanize-0.2.5/mechanize")
- self._install("http://pypi.python.org/packages/source/m/mechanize/mechanize-0.2.4.zip",
- "mechanize")
-
def _install_pep8(self):
self._install("http://pypi.python.org/packages/source/p/pep8/pep8-0.5.0.tar.gz#md5=512a818af9979290cd619cce8e9c2e2b",
"pep8-0.5.0/pep8.py")
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes