zulip_tools: Switch get_deploy_options to use shlex.split.

This makes it honor quoting in the config file.
This commit is contained in:
Alex Vandiver 2022-01-05 14:00:30 -08:00 committed by Tim Abbott
parent 6a7eecee9a
commit 06e115bb00
1 changed files with 1 additions and 1 deletions

View File

@ -562,7 +562,7 @@ def get_config_file() -> configparser.RawConfigParser:
def get_deploy_options(config_file: configparser.RawConfigParser) -> List[str]: def get_deploy_options(config_file: configparser.RawConfigParser) -> List[str]:
return get_config(config_file, "deployment", "deploy_options", "").strip().split() return shlex.split(get_config(config_file, "deployment", "deploy_options", "").strip())
def run_psql_as_postgres( def run_psql_as_postgres(