Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_exporter.py

Issue 2557963002: Convert WPT export usage of httplib2 to urllib2 (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Tools/Scripts/webkitpy/w3c/wpt_github.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import logging 5 import logging
6 from webkitpy.w3c.local_wpt import LocalWPT 6 from webkitpy.w3c.local_wpt import LocalWPT
7 from webkitpy.w3c.chromium_wpt import ChromiumWPT 7 from webkitpy.w3c.chromium_wpt import ChromiumWPT
8 from webkitpy.w3c.chromium_commit import ChromiumCommit 8 from webkitpy.w3c.chromium_commit import ChromiumCommit
9 9
10 _log = logging.getLogger(__name__) 10 _log = logging.getLogger(__name__)
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 if self.dry_run: 85 if self.dry_run:
86 _log.info('[dry_run] Stopping before creating PR') 86 _log.info('[dry_run] Stopping before creating PR')
87 _log.info('\n\n[dry_run] message:') 87 _log.info('\n\n[dry_run] message:')
88 _log.info(message) 88 _log.info(message)
89 _log.info('\n\n[dry_run] patch:') 89 _log.info('\n\n[dry_run] patch:')
90 _log.info(patch) 90 _log.info(patch)
91 return 91 return
92 92
93 local_branch_name = local_wpt.create_branch_with_patch(message, patch) 93 local_branch_name = local_wpt.create_branch_with_patch(message, patch)
94 94
95 self.wpt_github.create_pr( 95 response_data = self.wpt_github.create_pr(
96 local_branch_name=local_branch_name, 96 local_branch_name=local_branch_name,
97 desc_title=outbound_commit.subject(), 97 desc_title=outbound_commit.subject(),
98 body=outbound_commit.body()) 98 body=outbound_commit.body())
99
100 _log.info('Create PR response: %s', response_data)
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Tools/Scripts/webkitpy/w3c/wpt_github.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698