File tree 1 file changed +4
-3
lines changed
scrapy/core/downloader/handlers
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -43,9 +43,10 @@ def __init__(self, settings):
43
43
# use context factory defaults
44
44
self ._contextFactory = self ._contextFactoryClass ()
45
45
msg = """
46
- You are using a context factory class that does not accept the `method` argument
47
- (type OpenSSL.SSL method, e.g. OpenSSL.SSL.SSLv23_METHOD).
48
- Please upgrade your context factory class to handle or ignore it."""
46
+ '%s' does not accept `method` argument (type OpenSSL.SSL method,\
47
+ e.g. OpenSSL.SSL.SSLv23_METHOD).\
48
+ Please upgrade your context factory class to handle it or ignore it.""" % (
49
+ settings ['DOWNLOADER_CLIENTCONTEXTFACTORY' ],)
49
50
warnings .warn (msg )
50
51
self ._default_maxsize = settings .getint ('DOWNLOAD_MAXSIZE' )
51
52
self ._default_warnsize = settings .getint ('DOWNLOAD_WARNSIZE' )
You can’t perform that action at this time.
0 commit comments