Index: win_toolchain/package_from_installed.py |
diff --git a/win_toolchain/package_from_installed.py b/win_toolchain/package_from_installed.py |
index 19d3e706c1b4925c349464c7b138de2f5008a271..bda571a8626cf0665dbc7323971f1244795094b9 100644 |
--- a/win_toolchain/package_from_installed.py |
+++ b/win_toolchain/package_from_installed.py |
@@ -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() |