Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

zulip_tools: Switch get_deploy_options to use shlex.split.

Alex Vandiver06e115bb0053
diff --git a/scripts/lib/zulip_tools.py b/scripts/lib/zulip_tools.py
index 862e1ff4c1e..724d6f0631f 100755
--- a/scripts/lib/zulip_tools.py
+++ b/scripts/lib/zulip_tools.py
@@ -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(