Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: build.py

Issue 29350338: Issue 4382 - Use new syntax to catch exceptions in buildtools (Closed)
Patch Set: Created Aug. 30, 2016, 1:32 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ensure_dependencies.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build.py
===================================================================
--- a/build.py
+++ b/build.py
@@ -597,7 +597,7 @@
if commands[command].isSupported(type):
try:
opts, args = commands[command].parseArgs(type, args[1:])
- except GetoptError, e:
+ except GetoptError as e:
print str(e)
usage(scriptName, type, command)
sys.exit(2)
« no previous file with comments | « no previous file | ensure_dependencies.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld