mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-03 20:22:59 -05:00 
			
		
		
		
	Fix 'config.py set' without --force
The `set` command can act on any known symbol.
This commit is contained in:
		
							parent
							
								
									0fa5efb7ce
								
							
						
					
					
						commit
						98eb36557d
					
				@ -384,7 +384,7 @@ if __name__ == '__main__':
 | 
			
		||||
                    sys.stdout.write(value + '\n')
 | 
			
		||||
            return args.symbol not in config
 | 
			
		||||
        elif args.command == 'set':
 | 
			
		||||
            if not args.force and args.symbol not in config:
 | 
			
		||||
            if not args.force and args.symbol not in config.settings:
 | 
			
		||||
                sys.stderr.write("A #define for the symbol {} "
 | 
			
		||||
                                 "was not found in {}"
 | 
			
		||||
                                 .format(args.symbol, args.file))
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user