From: abarth@webkit.org Date: Tue, 21 Feb 2012 07:54:25 +0000 (+0000) Subject: mastercfg_unittest.py fails without simplejson X-Git-Tag: 070512121124~12331 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cc29992da875b751b184d803f6aa6843335078a5;p=profile%2Fivi%2Fwebkit-efl.git mastercfg_unittest.py fails without simplejson https://bugs.webkit.org/show_bug.cgi?id=79070 Reviewed by Csaba Osztrogonác. Now that we require Python 2.6 (and higher) we can import json rather than simplejson. We still need to use the simplejson name because that's what the master.cfg script expects. * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py: (BuildBotConfigLoader._add_dependant_modules_to_sys_modules): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108317 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- diff --git a/Tools/BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py b/Tools/BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py index 13e4546..c28ab2a 100755 --- a/Tools/BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py +++ b/Tools/BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py @@ -28,7 +28,7 @@ class BuildBotConfigLoader(object): def _add_dependant_modules_to_sys_modules(self): from webkitpy.thirdparty.autoinstalled import buildbot - from webkitpy.thirdparty import simplejson + import json as simplejson sys.modules['buildbot'] = buildbot sys.modules['simplejson'] = simplejson diff --git a/Tools/ChangeLog b/Tools/ChangeLog index 9ff96c8..c62b7a3 100644 --- a/Tools/ChangeLog +++ b/Tools/ChangeLog @@ -1,3 +1,17 @@ +2012-02-20 Adam Barth + + mastercfg_unittest.py fails without simplejson + https://bugs.webkit.org/show_bug.cgi?id=79070 + + Reviewed by Csaba Osztrogonác. + + Now that we require Python 2.6 (and higher) we can import json rather + than simplejson. We still need to use the simplejson name because + that's what the master.cfg script expects. + + * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py: + (BuildBotConfigLoader._add_dependant_modules_to_sys_modules): + 2012-02-20 Filip Pizlo JSC should be a triple-tier VM