Fix build with python 2.6
* Packages cannot be executed * '.format' needs the index of the argument (Reported in https://github.com/Homebrew/homebrew/issues/35616)
This commit is contained in:
		
							parent
							
								
									5d8993b06a
								
							
						
					
					
						commit
						c5d666d374
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -23,12 +23,12 @@ def main():
 | 
			
		|||
 | 
			
		||||
    def gen_ies_md(ies):
 | 
			
		||||
        for ie in ies:
 | 
			
		||||
            ie_md = '**{}**'.format(ie.IE_NAME)
 | 
			
		||||
            ie_md = '**{0}**'.format(ie.IE_NAME)
 | 
			
		||||
            ie_desc = getattr(ie, 'IE_DESC', None)
 | 
			
		||||
            if ie_desc is False:
 | 
			
		||||
                continue
 | 
			
		||||
            if ie_desc is not None:
 | 
			
		||||
                ie_md += ': {}'.format(ie.IE_DESC)
 | 
			
		||||
                ie_md += ': {0}'.format(ie.IE_DESC)
 | 
			
		||||
            if not ie.working():
 | 
			
		||||
                ie_md += ' (Currently broken)'
 | 
			
		||||
            yield ie_md
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue