Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1042)

Unified Diff: git_wktry.py

Issue 12255048: Fix lint error in git_wktry. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: prefix unused args Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git_wktry.py
diff --git a/git_wktry.py b/git_wktry.py
index 0d9c2cd2b4ac553a6ff2fe9c9d47d6023fd32fa3..c49d8dbe5265b2e89f64adedb9186b2cc846c604 100755
--- a/git_wktry.py
+++ b/git_wktry.py
@@ -23,7 +23,7 @@ class ScopedTemporaryFile(object):
def __enter__(self):
return self._path
- def __exit__(self, type, value, traceback):
+ def __exit__(self, _exc_type, _exc_value, _exc_traceback):
try:
os.remove(self._path)
except OSError, e:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698