mirror of https://github.com/zulip/zulip.git
zulip_tools: Switch get_deploy_options to use shlex.split.
This makes it honor quoting in the config file.
This commit is contained in:
parent
6a7eecee9a
commit
06e115bb00
|
@ -562,7 +562,7 @@ def get_config_file() -> configparser.RawConfigParser:
|
|||
|
||||
|
||||
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(
|
||||
|
|
Loading…
Reference in New Issue