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

Unified Diff: ensure_dependencies.py

Issue 29350286: Issue 4376 - Updated buildtools dependency (Closed)
Patch Set: Rebased, set revisions, tidy up metadata.safari Created Sept. 9, 2016, 3:03 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 | « dependencies ('k') | metadata.chrome » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ensure_dependencies.py
===================================================================
--- a/ensure_dependencies.py
+++ b/ensure_dependencies.py
@@ -220,7 +220,7 @@
if spec:
result[key] = spec
return result
- except IOError, e:
+ except IOError as e:
if e.errno != errno.ENOENT:
raise
return None
@@ -332,7 +332,7 @@
try:
with io.open(source, 'rb') as handle:
sourcedata = handle.read()
- except IOError, e:
+ except IOError as e:
if e.errno != errno.ENOENT:
raise
logging.warning("File %s doesn't exist, skipping self-update" % source)
« no previous file with comments | « dependencies ('k') | metadata.chrome » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld