mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-03 22:17:06 -05:00 
			
		
		
		
	Better formatting (PEP 8)
This commit is contained in:
		@@ -127,9 +127,12 @@ def parseOpts():
 | 
			
		||||
 | 
			
		||||
		opts = []
 | 
			
		||||
 | 
			
		||||
		if option._short_opts: opts.append(option._short_opts[0])
 | 
			
		||||
		if option._long_opts: opts.append(option._long_opts[0])
 | 
			
		||||
		if len(opts) > 1: opts.insert(1, ', ')
 | 
			
		||||
		if option._short_opts:
 | 
			
		||||
			opts.append(option._short_opts[0])
 | 
			
		||||
		if option._long_opts:
 | 
			
		||||
			opts.append(option._long_opts[0])
 | 
			
		||||
		if len(opts) > 1:
 | 
			
		||||
			opts.insert(1, ', ')
 | 
			
		||||
 | 
			
		||||
		if option.takes_value(): opts.append(' %s' % option.metavar)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user