mirror of https://github.com/ARMmbed/mbed-os.git
				
				
				
			Convert option list to unicode
							parent
							
								
									af46177a65
								
							
						
					
					
						commit
						229a072e49
					
				| 
						 | 
				
			
			@ -393,6 +393,8 @@ def argparse_force_type(case):
 | 
			
		|||
    """
 | 
			
		||||
    def middle(lst, type_name):
 | 
			
		||||
        """ The parser type generator"""
 | 
			
		||||
        if not isinstance(lst[0], unicode):
 | 
			
		||||
            lst = [o.decode() for o in lst]
 | 
			
		||||
        def parse_type(string):
 | 
			
		||||
            """ The parser type"""
 | 
			
		||||
            if not isinstance(string, unicode):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue