mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	ruff: Fix SIM201 Use … != … instead of not … == ….
				
					
				
			Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							25346bde98
						
					
				
				
					commit
					7a7513f6e0
				
			@@ -26,7 +26,7 @@ def nagios_from_file(results_file: str, max_time_diff: int = 60 * 2) -> Tuple[in
 | 
			
		||||
    else:
 | 
			
		||||
        pieces = data.split("|")
 | 
			
		||||
 | 
			
		||||
        if not len(pieces) == 4:
 | 
			
		||||
        if len(pieces) != 4:
 | 
			
		||||
            state = "UNKNOWN"
 | 
			
		||||
            ret = 3
 | 
			
		||||
            data = "Results file malformed"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user