From d945f368d2e7064cd20cd51e85806c18c2c822c2 Mon Sep 17 00:00:00 2001 From: "dpranke@chromium.org" Date: Fri, 11 Mar 2011 22:52:19 +0000 Subject: [PATCH] suppress some unimportant lint warnings Review URL: http://codereview.chromium.org/6658013 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@77882 0039d316-1c4b-4281-b951-d872f2087c98 --- gcl.py | 4 ++-- presubmit_support.py | 4 ++-- trychange.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gcl.py b/gcl.py index 2e68617fab..6b198a23cf 100755 --- a/gcl.py +++ b/gcl.py @@ -22,7 +22,7 @@ from third_party import upload import urllib2 try: - import simplejson as json + import simplejson as json # pylint: disable=F0401 except ImportError: try: import json @@ -33,7 +33,7 @@ except ImportError: except (ImportError, AttributeError): # Import the one included in depot_tools. sys.path.append(os.path.join(os.path.dirname(__file__), 'third_party')) - import simplejson as json + import simplejson as json # pylint: disable=F0401 import breakpad # pylint: disable=W0611 diff --git a/presubmit_support.py b/presubmit_support.py index 3af5edd87a..5e2f8d13e0 100755 --- a/presubmit_support.py +++ b/presubmit_support.py @@ -35,7 +35,7 @@ import urllib2 # Exposed through the API. from warnings import warn try: - import simplejson as json + import simplejson as json # pylint: disable=F0401 except ImportError: try: import json @@ -47,7 +47,7 @@ except ImportError: except (ImportError, AttributeError): # Import the one included in depot_tools. sys.path.append(os.path.join(os.path.dirname(__file__), 'third_party')) - import simplejson as json + import simplejson as json # pylint: disable=F0401 # Local imports. import gclient_utils diff --git a/trychange.py b/trychange.py index b1b328ff2f..884e56c1bd 100755 --- a/trychange.py +++ b/trychange.py @@ -22,7 +22,7 @@ import tempfile import urllib try: - import simplejson as json + import simplejson as json # pylint: disable=F0401 except ImportError: try: import json