1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-09 01:03:24 +00:00

Fix pyflake issue

This commit is contained in:
Kevin McCarthy
2017-05-27 15:43:00 -10:00
parent 88bf8f0aac
commit 572da2084d

View File

@@ -45,9 +45,6 @@ else:
_cpoolHTTPSConnection = cpool.HTTPSConnection _cpoolHTTPSConnection = cpool.HTTPSConnection
# Try to save the original types for httplib2 # Try to save the original types for httplib2
try: try:
import httplib2 import httplib2
@@ -183,7 +180,7 @@ class CassettePatcherBuilder(object):
def _requests(self): def _requests(self):
try: try:
from .stubs import requests_stubs from .stubs import requests_stubs
except ImportError: # pragma: no cover except ImportError: # pragma: no cover
return () return ()
return self._urllib3_patchers(cpool, requests_stubs) return self._urllib3_patchers(cpool, requests_stubs)