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:
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user