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

Side by Side Diff: experimental/bisect_lib/bisect_helper.py

Issue 1521503002: Update bisect_lib with the changes committed in the infra/build repo. (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: Created 5 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
OLDNEW
(Empty)
1 #!/usr/bin/python2.7
2
3 # Copyright 2015 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6
7 import json
8 import os
9 import sys
10
11 sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir))
12
13 from bisect_lib import chromium_revisions
14
15
16 def main(argv):
17 if argv[1] == 'query_revision_info':
18 print json.dumps(chromium_revisions.revision_info(argv[2]))
19 elif argv[1] == 'revision_range':
20 print json.dumps(chromium_revisions.revision_range(argv[2], argv[3]))
21 return 0
22
23
24 if __name__ == '__main__':
25 sys.exit(main(sys.argv))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698