| 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 import hashlib | 6 import hashlib |
| 7 import optparse | 7 import optparse |
| 8 import os | 8 import os |
| 9 import urllib2 | 9 import urllib2 |
| 10 import sys | 10 import sys |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 | 196 |
| 197 if len(new_deps) > 0: | 197 if len(new_deps) > 0: |
| 198 sys.stdout.write('\nIf you have changed nacl_revision, the DEPS file ' | 198 sys.stdout.write('\nIf you have changed nacl_revision, the DEPS file ' |
| 199 'probably needs to be updated with the following:\n%s\n' | 199 'probably needs to be updated with the following:\n%s\n' |
| 200 % ''.join(new_deps)) | 200 % ''.join(new_deps)) |
| 201 sys.exit(1) | 201 sys.exit(1) |
| 202 | 202 |
| 203 | 203 |
| 204 if __name__ == '__main__': | 204 if __name__ == '__main__': |
| 205 Main() | 205 Main() |
| OLD | NEW |