Fix raise to use Exception instead of raw strings

I coded these incorrectly in a previous change and hit them when
building a VS package.

Review URL: https://codereview.chromium.org/1567863004

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298156 0039d316-1c4b-4281-b951-d872f2087c98
changes/01/332501/1
brucedawson@chromium.org 9 years ago
parent a527f4ab5f
commit 105c85dbca

@ -317,9 +317,9 @@ def main():
(total_size / 1e9, count, version_match_count, WIN_VERSION, ' '*50))
return 0
if missing_files:
raise 'One or more files were missing - aborting'
raise Exception('One or more files were missing - aborting')
if version_match_count == 0:
raise 'No files found that match the specified winversion'
raise Exception('No files found that match the specified winversion')
sys.stdout.write('\rWrote to %s.%s\n' % (output, ' '*50))
sys.stdout.flush()

Loading…
Cancel
Save