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

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

Issue 2138483005: Remove print statement in deps_updater. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 """Pull latest revisions of a W3C test repo and make a local commit.""" 5 """Pull latest revisions of a W3C test repo and make a local commit."""
6 6
7 import argparse 7 import argparse
8 import time 8 import time
9 9
10 from webkitpy.common.webkit_finder import WebKitFinder 10 from webkitpy.common.webkit_finder import WebKitFinder
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 sets = {} 263 sets = {}
264 for line in results.splitlines(): 264 for line in results.splitlines():
265 line = line.strip() 265 line = line.strip()
266 if line[-1] == ':': 266 if line[-1] == ':':
267 result_type = line[:-1] 267 result_type = line[:-1]
268 sets[result_type] = set() 268 sets[result_type] = set()
269 elif line.split()[0] == 'Total:': 269 elif line.split()[0] == 'Total:':
270 break 270 break
271 else: 271 else:
272 sets[result_type].add(line.split()[0]) 272 sets[result_type].add(line.split()[0])
273 print sets
274 sets['Failures'] -= sets['Successes'] 273 sets['Failures'] -= sets['Successes']
275 sets['Started'] -= sets['Successes'] 274 sets['Started'] -= sets['Successes']
276 sets['Started'] -= sets['Failures'] 275 sets['Started'] -= sets['Failures']
277 return sets 276 return sets
278 277
279 def check_run(self, command): 278 def check_run(self, command):
280 return_code, out = self.run(command) 279 return_code, out = self.run(command)
281 if return_code: 280 if return_code:
282 raise Exception('%s failed with exit code %d.' % ' '.join(command), return_code) 281 raise Exception('%s failed with exit code %d.' % ' '.join(command), return_code)
283 return out 282 return out
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698