Improve handling of patches during Chromium update (issue #2435)

This commit is contained in:
Marshall Greenblatt
2018-05-11 14:09:26 +03:00
parent 46e8152b6d
commit d1d4f7a3ef
3 changed files with 38 additions and 9 deletions

View File

@ -87,9 +87,7 @@ def apply_patch_config():
write_note('ERROR',
'%d patches failed to apply. Your build will not be correct.' %
results['fail'])
raise Exception(
'%d patches failed to apply. Your build will not be correct.' %
results['fail'])
sys.exit(1)
# Parse command-line options.