OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 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 """Makes sure that all files contain proper licensing information.""" | 6 """Makes sure that all files contain proper licensing information.""" |
7 | 7 |
8 | 8 |
9 import json | 9 import json |
10 import optparse | 10 import optparse |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 'third_party/catapult/third_party/apiclient': [ | 216 'third_party/catapult/third_party/apiclient': [ |
217 'UNKNOWN', | 217 'UNKNOWN', |
218 ], | 218 ], |
219 | 219 |
220 # https://bugs.launchpad.net/beautifulsoup/+bug/1481316 | 220 # https://bugs.launchpad.net/beautifulsoup/+bug/1481316 |
221 # MIT license. | 221 # MIT license. |
222 'third_party/catapult/third_party/beautifulsoup': [ | 222 'third_party/catapult/third_party/beautifulsoup': [ |
223 'UNKNOWN' | 223 'UNKNOWN' |
224 ], | 224 ], |
225 | 225 |
| 226 # https://bitbucket.org/ned/coveragepy/issue/313/add-license-file-containing
-2-3-or-4 |
| 227 # Apache (v2.0) license, not shipped |
| 228 'third_party/catapult/third_party/coverage': [ |
| 229 'UNKNOWN' |
| 230 ], |
| 231 |
226 # https://code.google.com/p/graphy/issues/detail?id=6 | 232 # https://code.google.com/p/graphy/issues/detail?id=6 |
227 # Apache (v2.0) | 233 # Apache (v2.0) |
228 'third_party/catapult/third_party/graphy': [ | 234 'third_party/catapult/third_party/graphy': [ |
229 'UNKNOWN', | 235 'UNKNOWN', |
230 ], | 236 ], |
231 | 237 |
232 # https://github.com/GoogleCloudPlatform/gsutil/issues/305 | 238 # https://github.com/GoogleCloudPlatform/gsutil/issues/305 |
233 ('third_party/catapult/third_party/gsutil/gslib/third_party/' | 239 ('third_party/catapult/third_party/gsutil/gslib/third_party/' |
234 'storage_apitools'): [ | 240 'storage_apitools'): [ |
235 'UNKNOWN', | 241 'UNKNOWN', |
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
725 action='store_true', | 731 action='store_true', |
726 default=False, | 732 default=False, |
727 help='Ignore path-specific license whitelist.') | 733 help='Ignore path-specific license whitelist.') |
728 option_parser.add_option('--json', help='Path to JSON output file') | 734 option_parser.add_option('--json', help='Path to JSON output file') |
729 options, args = option_parser.parse_args() | 735 options, args = option_parser.parse_args() |
730 return check_licenses(options, args) | 736 return check_licenses(options, args) |
731 | 737 |
732 | 738 |
733 if '__main__' == __name__: | 739 if '__main__' == __name__: |
734 sys.exit(main()) | 740 sys.exit(main()) |
OLD | NEW |