Commit e7ba913
committed
chromium/generate_license_list.py: Check whether the license file exist
With newer Chromium versions, most of the licenses returned by
find_chromium_licenses() are missing from the tarball.
Check whether the file exists to avoid throwing an exception
in open(license_file, 'rb').
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>1 parent 407e3ac commit e7ba913
1 file changed
Lines changed: 2 additions & 0 deletions
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
| 97 | + | |
96 | 98 | | |
97 | 99 | | |
98 | 100 | | |
| |||
0 commit comments