mirror of
				https://github.com/ytdl-org/youtube-dl.git
				synced 2025-11-01 09:26:45 -07:00 
			
		
		
		
	[Misc] Fixes for 2.6 compatibility
This commit is contained in:
		@@ -25,7 +25,11 @@ import tokenize
 | 
			
		||||
import traceback
 | 
			
		||||
import random
 | 
			
		||||
 | 
			
		||||
from ssl import OPENSSL_VERSION
 | 
			
		||||
try:
 | 
			
		||||
    from ssl import OPENSSL_VERSION
 | 
			
		||||
except ImportError:
 | 
			
		||||
    # Must be Python 2.6, should be built against 1.0.2
 | 
			
		||||
    OPENSSL_VERSION = 'OpenSSL 1.0.2(?)'
 | 
			
		||||
from string import ascii_letters
 | 
			
		||||
 | 
			
		||||
from .compat import (
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user