| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 # For instructions see: |
| 7 # http://www.chromium.org/developers/tree-sheriffs/perf-sheriffs |
| 6 | 8 |
| 7 import hashlib | 9 import hashlib |
| 8 import math | 10 import math |
| 9 import optparse | 11 import optparse |
| 10 import os | 12 import os |
| 11 import re | 13 import re |
| 12 import subprocess | 14 import subprocess |
| 13 import sys | 15 import sys |
| 14 import time | 16 import time |
| 15 import urllib2 | 17 import urllib2 |
| (...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 print 'done' | 341 print 'done' |
| 340 else: | 342 else: |
| 341 if options.verbose: | 343 if options.verbose: |
| 342 print '' | 344 print '' |
| 343 print 'No changes.' | 345 print 'No changes.' |
| 344 return 0 | 346 return 0 |
| 345 | 347 |
| 346 | 348 |
| 347 if __name__ == '__main__': | 349 if __name__ == '__main__': |
| 348 sys.exit(Main(sys.argv)) | 350 sys.exit(Main(sys.argv)) |
| OLD | NEW |