Commit 1dd7cf69 by Sarina Canelake

s/pylint: disable=W0603/pylint: disable=global-statement/

parent 3c364193
......@@ -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")
......
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