Chromium Code Reviews| Index: git_wktry.py |
| diff --git a/git_wktry.py b/git_wktry.py |
| index 0d9c2cd2b4ac553a6ff2fe9c9d47d6023fd32fa3..9c239281f137623a5ccf3ff61d653952a11700df 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): |
|
M-A Ruel
2013/02/15 15:59:42
Prepend unused arguments with '_'
|
| try: |
| os.remove(self._path) |
| except OSError, e: |