|
| 1 | +2017-12-10 Konstantin Tokarev < [email protected]> |
| 2 | + |
| 3 | + [python] Modernize "except" usage for python3 compatibility |
| 4 | + https://bugs.webkit.org/show_bug.cgi?id=180612 |
| 5 | + |
| 6 | + Reviewed by Michael Catanzaro. |
| 7 | + |
| 8 | + * BuildSlaveSupport/build.webkit.org-config/committer_auth.py: |
| 9 | + (CommitterAuth.auth_json): |
| 10 | + (CommitterAuth.authenticate): |
| 11 | + (CommitterAuth.is_webkit_committer): |
| 12 | + (CommitterAuth.is_webkit_trac_user): |
| 13 | + * BuildSlaveSupport/wait-for-SVN-server.py: |
| 14 | + (getLatestSVNRevision): |
| 15 | + * QueueStatusServer/handlers/updatebase.py: |
| 16 | + (UpdateBase._int_from_request): |
| 17 | + * Scripts/webkitpy/bindings/main.py: |
| 18 | + (BindingsTests.generate_from_idl): |
| 19 | + (BindingsTests.generate_supplemental_dependency): |
| 20 | + (BindingsTests.detect_changes): |
| 21 | + * Scripts/webkitpy/codegen/main.py: |
| 22 | + (BuiltinsGeneratorTests.generate_from_js_builtins): |
| 23 | + (BuiltinsGeneratorTests.detect_changes): |
| 24 | + * Scripts/webkitpy/common/checkout/changelog.py: |
| 25 | + (ChangeLog.parse_latest_entry_from_file): |
| 26 | + * Scripts/webkitpy/common/checkout/checkout.py: |
| 27 | + (Checkout.bug_id_for_this_commit): |
| 28 | + * Scripts/webkitpy/common/checkout/scm/git.py: |
| 29 | + (Git.in_working_directory): |
| 30 | + (Git.clone): |
| 31 | + (Git._string_to_int_or_none): |
| 32 | + (Git._commit_on_branch): |
| 33 | + * Scripts/webkitpy/common/checkout/scm/svn.py: |
| 34 | + (SVN.revisions_changing_file): |
| 35 | + * Scripts/webkitpy/common/config/committers.py: |
| 36 | + (CommitterList.load_json): |
| 37 | + * Scripts/webkitpy/common/message_pool.py: |
| 38 | + (_Worker.run): |
| 39 | + * Scripts/webkitpy/common/net/buildbot/buildbot.py: |
| 40 | + (Builder.force_build.predicate): |
| 41 | + (Builder._fetch_revision_to_build_map): |
| 42 | + (BuildBot._fetch_build_dictionary): |
| 43 | + * Scripts/webkitpy/common/net/credentials.py: |
| 44 | + (Credentials._credentials_from_git): |
| 45 | + * Scripts/webkitpy/common/net/networktransaction.py: |
| 46 | + (NetworkTransaction.run): |
| 47 | + * Scripts/webkitpy/common/net/networktransaction_unittest.py: |
| 48 | + (NetworkTransactionTest.test_exception): |
| 49 | + (NetworkTransactionTest.test_timeout): |
| 50 | + * Scripts/webkitpy/common/net/statusserver.py: |
| 51 | + (StatusServer._fetch_url): |
| 52 | + * Scripts/webkitpy/common/net/unittestresults.py: |
| 53 | + (UnitTestResults.results_from_string): |
| 54 | + * Scripts/webkitpy/common/prettypatch.py: |
| 55 | + (PrettyPatch.check_pretty_patch): |
| 56 | + (PrettyPatch.pretty_patch_text): |
| 57 | + * Scripts/webkitpy/common/prettypatch_unittest.py: |
| 58 | + (PrettyPatchTest.check_ruby): |
| 59 | + * Scripts/webkitpy/common/system/autoinstall.py: |
| 60 | + (AutoInstaller._extract_tar): |
| 61 | + (AutoInstaller._unzip): |
| 62 | + (AutoInstaller._replace_domain_with_next_mirror): |
| 63 | + (AutoInstaller._download_to_stream): |
| 64 | + (AutoInstaller.install): |
| 65 | + * Scripts/webkitpy/common/system/crashlogs.py: |
| 66 | + (CrashLogs._find_newest_log_darwin): |
| 67 | + (CrashLogs._find_newest_log_win): |
| 68 | + (CrashLogs._find_all_logs_darwin): |
| 69 | + * Scripts/webkitpy/common/system/executive.py: |
| 70 | + (Executive.kill_process): |
| 71 | + (Executive.running_pids): |
| 72 | + * Scripts/webkitpy/common/system/filesystem.py: |
| 73 | + (FileSystem.maybe_make_directory): |
| 74 | + (FileSystem.remove): |
| 75 | + * Scripts/webkitpy/common/system/user.py: |
| 76 | + (User._wait_on_list_response): |
| 77 | + (User.edit): |
| 78 | + (User.page): |
| 79 | + (User.can_open_url): |
| 80 | + * Scripts/webkitpy/common/system/workspace.py: |
| 81 | + (Workspace.create_zip): |
| 82 | + * Scripts/webkitpy/common/watchlist/watchlistparser.py: |
| 83 | + (WatchListParser._parse_definition_section): |
| 84 | + * Scripts/webkitpy/common/webkitunittest.py: |
| 85 | + (TestCase._assertRaisesRegexp): |
| 86 | + * Scripts/webkitpy/inspector/main.py: |
| 87 | + (InspectorGeneratorTests.generate_from_json): |
| 88 | + (InspectorGeneratorTests.detect_changes): |
| 89 | + * Scripts/webkitpy/layout_tests/controllers/layout_test_finder.py: |
| 90 | + (LayoutTestFinder._read_test_names_from_file): |
| 91 | + * Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py: |
| 92 | + (LayoutTestRunner.run_tests): |
| 93 | + * Scripts/webkitpy/layout_tests/controllers/manager.py: |
| 94 | + (Manager.upload_results): |
| 95 | + * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py: |
| 96 | + (JSONResultsGenerator.upload_json_files): |
| 97 | + (JSONResultsGenerator._get_archived_json_results): |
| 98 | + * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py: |
| 99 | + (MiscTests.test_parse_warning): |
| 100 | + (SemanticTests.test_bad_bugid): |
| 101 | + * Scripts/webkitpy/layout_tests/models/test_run_results.py: |
| 102 | + (summarize_results): |
| 103 | + * Scripts/webkitpy/layout_tests/run_webkit_tests.py: |
| 104 | + (main): |
| 105 | + * Scripts/webkitpy/layout_tests/servers/http_server.py: |
| 106 | + (Lighttpd._remove_stale_logs): |
| 107 | + * Scripts/webkitpy/layout_tests/servers/http_server_base.py: |
| 108 | + (HttpServerBase._is_running_on_port): |
| 109 | + (HttpServerBase._check_that_all_ports_are_available): |
| 110 | + * Scripts/webkitpy/layout_tests/servers/http_server_integrationtest.py: |
| 111 | + (BaseTest.assert_servers_are_down): |
| 112 | + (BaseTest.assert_servers_are_up): |
| 113 | + (BaseTest.integration_test_server__fails): |
| 114 | + (BaseTest.maybe_make_dir): |
| 115 | + * Scripts/webkitpy/layout_tests/servers/run_webkit_httpd.py: |
| 116 | + (run_server): |
| 117 | + * Scripts/webkitpy/layout_tests/servers/web_platform_test_launcher.py: |
| 118 | + * Scripts/webkitpy/layout_tests/servers/websocket_server.py: |
| 119 | + (PyWebSocket.is_running): |
| 120 | + (PyWebSocket._remove_stale_logs): |
| 121 | + * Scripts/webkitpy/performance_tests/perftestsrunner.py: |
| 122 | + (_merge_slave_config_json): |
| 123 | + (_merge_outputs_if_needed): |
| 124 | + (_upload_json): |
| 125 | + * Scripts/webkitpy/port/base.py: |
| 126 | + (Port._build_driver): |
| 127 | + (Port._build_image_diff): |
| 128 | + (Port._symbols_string): |
| 129 | + * Scripts/webkitpy/port/leakdetector.py: |
| 130 | + (LeakDetector.count_total_bytes_and_unique_leaks): |
| 131 | + (LeakDetector.check_for_leaks): |
| 132 | + * Scripts/webkitpy/port/leakdetector_valgrind.py: |
| 133 | + (LeakDetectorValgrind._parse_leaks_output): |
| 134 | + * Scripts/webkitpy/port/mac.py: |
| 135 | + (MacPort.reset_preferences): |
| 136 | + (MacPort.stop_helper): |
| 137 | + * Scripts/webkitpy/port/port_testcase.py: |
| 138 | + (PortTestCase.assert_servers_are_down): |
| 139 | + (PortTestCase.assert_servers_are_up): |
| 140 | + (PortTestCase.integration_test_http_server__fails): |
| 141 | + (PortTestCase.integration_test_websocket_server__fails): |
| 142 | + * Scripts/webkitpy/port/server_process.py: |
| 143 | + (ServerProcess.write): |
| 144 | + (ServerProcess._wait_for_data_and_update_buffers_using_select): |
| 145 | + (ServerProcess._non_blocking_read_win32): |
| 146 | + * Scripts/webkitpy/port/win.py: |
| 147 | + (WinPort._runtime_feature_list): |
| 148 | + * Scripts/webkitpy/port/xvfbdriver.py: |
| 149 | + (XvfbDriver._xvfb_read_display_id): |
| 150 | + * Scripts/webkitpy/style/checkers/jsonchecker.py: |
| 151 | + (JSONChecker.check): |
| 152 | + * Scripts/webkitpy/style/checkers/xml.py: |
| 153 | + (XMLChecker.check): |
| 154 | + * Scripts/webkitpy/style/filereader.py: |
| 155 | + (TextFileReader.process_file): |
| 156 | + * Scripts/webkitpy/style/filereader_unittest.py: |
| 157 | + (TextFileReaderTest.test_process_file__does_not_exist): |
| 158 | + * Scripts/webkitpy/style/optparser.py: |
| 159 | + (ArgumentParser.parse): |
| 160 | + * Scripts/webkitpy/tool/bot/irc_command.py: |
| 161 | + (CreateBug.execute): |
| 162 | + (Rollout.execute): |
| 163 | + * Scripts/webkitpy/tool/bot/ircbot.py: |
| 164 | + (IRCBot.process_message): |
| 165 | + * Scripts/webkitpy/tool/bot/layouttestresultsreader.py: |
| 166 | + (LayoutTestResultsReader._read_file_contents): |
| 167 | + * Scripts/webkitpy/tool/bot/patchanalysistask.py: |
| 168 | + (PatchAnalysisTask._run_command): |
| 169 | + * Scripts/webkitpy/tool/bot/queueengine.py: |
| 170 | + (QueueEngine.run): |
| 171 | + * Scripts/webkitpy/tool/commands/abstractsequencedcommand.py: |
| 172 | + (AbstractSequencedCommand.execute): |
| 173 | + * Scripts/webkitpy/tool/commands/download.py: |
| 174 | + (AbstractPatchSequencingCommand._prepare_to_process): |
| 175 | + * Scripts/webkitpy/tool/commands/earlywarningsystem.py: |
| 176 | + (AbstractEarlyWarningSystem.review_patch): |
| 177 | + * Scripts/webkitpy/tool/commands/queries.py: |
| 178 | + (FailureReason._blame_line_for_revision): |
| 179 | + * Scripts/webkitpy/tool/commands/queues.py: |
| 180 | + (AbstractQueue._cc_watchers): |
| 181 | + (AbstractQueue.run_webkit_patch): |
| 182 | + (CommitQueue.process_work_item): |
| 183 | + (StyleQueue.review_patch): |
| 184 | + * Scripts/webkitpy/tool/commands/rebaseline.py: |
| 185 | + (AbstractParallelRebaselineCommand._run_webkit_patch): |
| 186 | + * Scripts/webkitpy/tool/commands/stepsequence.py: |
| 187 | + (StepSequence.run_and_handle_errors): |
| 188 | + * Scripts/webkitpy/tool/commands/suggestnominations.py: |
| 189 | + (SuggestNominations._count_recent_patches): |
| 190 | + * Scripts/webkitpy/tool/multicommandtool.py: |
| 191 | + (MultiCommandTool.main): |
| 192 | + * Scripts/webkitpy/tool/servers/rebaselineserver.py: |
| 193 | + (_rebaseline_test): |
| 194 | + (_move_test_baselines): |
| 195 | + * Scripts/webkitpy/tool/steps/addsvnmimetypeforpng_unittest.py: |
| 196 | + (AddSvnMimetypeForPngTest.test_run): |
| 197 | + * Scripts/webkitpy/tool/steps/checkstyle.py: |
| 198 | + (CheckStyle.run): |
| 199 | + * Scripts/webkitpy/tool/steps/commit.py: |
| 200 | + (Commit._check_test_expectations): |
| 201 | + (Commit.run): |
| 202 | + * Scripts/webkitpy/tool/steps/confirmdiff.py: |
| 203 | + (ConfirmDiff._show_pretty_diff): |
| 204 | + * Scripts/webkitpy/tool/steps/haslanded.py: |
| 205 | + (HasLanded.diff_diff): |
| 206 | + * Scripts/webkitpy/tool/steps/preparechangelog.py: |
| 207 | + (PrepareChangeLog.run): |
| 208 | + * Scripts/webkitpy/tool/steps/promptforbugortitle.py: |
| 209 | + (PromptForBugOrTitle.run): |
| 210 | + * Scripts/webkitpy/tool/steps/sortxcodeprojectfiles.py: |
| 211 | + (SortXcodeProjectFiles.run): |
| 212 | + * Scripts/webkitpy/webdriver_tests/webdriver_w3c_web_server.py: |
| 213 | + (WebDriverW3CWebServer._wait_for_server.check_port): |
| 214 | + * TestResultServer/model/datastorefile.py: |
| 215 | + (DataStoreFile.save_data): |
| 216 | + * jhbuild/jhbuildutils.py: |
| 217 | + (enter_jhbuild_environment_if_available): |
| 218 | + |
1 | 219 | 2017-12-09 Yusuke Suzuki < [email protected]>
|
2 | 220 |
|
3 | 221 | Fix WTF::Hasher tuple expansion with variadic args
|
|
0 commit comments