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

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

Issue 2595143002: Add label after creating PR, refactor WPTGitHub.request (Closed)
Patch Set: Expand abbreviated variable names Created 3 years, 12 months 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_exporter.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_exporter.py b/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_exporter.py
index 212453413352c96cde1c985a0212939d9583146b..599b48d83642e50753971ca43857e0c7bee360c5 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_exporter.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_exporter.py
@@ -98,6 +98,10 @@ class TestExporter(object):
_log.info('Create PR response: %s', response_data)
+ if response_data:
+ data, status_code = self.wpt_github.add_label(response_data['number'])
+ _log.info('Add label response (status %s): %s', status_code, data)
+
def exportable_commits_since(self, commit):
"""Returns SHAs of exportable commits since `commit` in chronological order.
« 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