Commit 1100c91a authored by torne@chromium.org's avatar torne@chromium.org

Fix lint error in git_wktry.

gpylint doesn't like the use of "type" as a variable name (redefining a
builtin) - change the signature of the method to use the exc_ prefix
like sys.exc_*. The variables are not actually used anyway.

BUG=


Review URL: https://chromiumcodereview.appspot.com/12255048

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@182722 0039d316-1c4b-4281-b951-d872f2087c98
parent c840e21e
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment