mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	python: Replace universal_newlines with text.
This is supported in Python ≥ 3.7. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							fd6d048efd
						
					
				
				
					commit
					97e4e9886c
				
			@@ -370,7 +370,7 @@ def destroy_leaked_test_databases(expiry_time: int = 60 * 60) -> int:
 | 
			
		||||
        ["psql", "-q", "-v", "ON_ERROR_STOP=1", "-h", "localhost", "postgres", "zulip_test"],
 | 
			
		||||
        input=commands,
 | 
			
		||||
        check=True,
 | 
			
		||||
        universal_newlines=True,
 | 
			
		||||
        text=True,
 | 
			
		||||
    )
 | 
			
		||||
    return len(databases_to_drop)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user