mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	zulip_tools: Add a function to get or create the var uuid path.
This commit is contained in:
		@@ -472,3 +472,8 @@ def get_config_file() -> configparser.RawConfigParser:
 | 
			
		||||
def get_deploy_options(config_file):
 | 
			
		||||
    # type: (configparser.RawConfigParser) -> List[str]
 | 
			
		||||
    return get_config(config_file, 'deployment', 'deploy_options', "").strip().split()
 | 
			
		||||
 | 
			
		||||
def get_or_create_dev_uuid_var_path(path: str) -> str:
 | 
			
		||||
    absolute_path = '{}/{}'.format(get_dev_uuid_var_path(), path)
 | 
			
		||||
    os.makedirs(absolute_path, exist_ok=True)
 | 
			
		||||
    return absolute_path
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user