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
experimental/szager/collated-output
torne@chromium.org 12 years ago
parent c840e21e9c
commit 1100c91ae1

@ -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:

Loading…
Cancel
Save