From 1dd7cf69464f9ab8282900936f37d05a3e5bcd1a Mon Sep 17 00:00:00 2001 From: Sarina Canelake Date: Sun, 30 Nov 2014 18:08:36 -0500 Subject: [PATCH] s/pylint: disable=W0603/pylint: disable=global-statement/ --- common/djangoapps/terrain/stubs/youtube.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/djangoapps/terrain/stubs/youtube.py b/common/djangoapps/terrain/stubs/youtube.py index 2bf8d7dcf6..688fe0ed1e 100644 --- a/common/djangoapps/terrain/stubs/youtube.py +++ b/common/djangoapps/terrain/stubs/youtube.py @@ -52,7 +52,7 @@ class StubYouTubeHandler(StubHttpRequestHandler): """ # Initialize only once if IFRAME_API_RESPONSE is none. - global IFRAME_API_RESPONSE # pylint: disable=W0603 + global IFRAME_API_RESPONSE # pylint: disable=global-statement if IFRAME_API_RESPONSE is None: IFRAME_API_RESPONSE = requests.get('https://www.youtube.com/iframe_api').content.strip("\n")