mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 12:03:46 +00:00 
			
		
		
		
	ruff: Fix RSE102 Unnecessary parentheses on raised exception.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						 Tim Abbott
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							3099487bc3
						
					
				
				
					commit
					da3cf5ea7a
				
			| @@ -50,7 +50,7 @@ class InvalidPlatformError(Exception): | ||||
| @cache_with_key(lambda platform: f"download_link:{platform}", timeout=60 * 30) | ||||
| def get_latest_github_release_download_link_for_platform(platform: str) -> str: | ||||
|     if platform not in PLATFORM_TO_SETUP_FILE: | ||||
|         raise InvalidPlatformError() | ||||
|         raise InvalidPlatformError | ||||
|  | ||||
|     latest_version = get_latest_github_release_version_for_repo("zulip-desktop") | ||||
|     if latest_version: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user