From 59d65309c73911264de7ece3d7ebd3149d6c33c7 Mon Sep 17 00:00:00 2001 From: derAnfaenger Date: Fri, 15 Sep 2017 11:45:10 +0200 Subject: [PATCH] zulip: Exit with info after provisioning script. --- zulip/zulip/__init__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/zulip/zulip/__init__.py b/zulip/zulip/__init__.py index 350ab02..dc815c0 100644 --- a/zulip/zulip/__init__.py +++ b/zulip/zulip/__init__.py @@ -242,8 +242,10 @@ def init_from_options(options, client=None): "https://pip.pypa.io/en/stable/installing/") sys.exit(1) if not pip.main(['install', '--upgrade', '--requirement', requirements_path]): - print("{color_green}Provisioning successful.{end_color}".format( - color_green='\033[92m', end_color='\033[0m')) + print("{color_green}You successfully provisioned the dependencies for {script}.{end_color}".format( + color_green='\033[92m', end_color='\033[0m', + script=os.path.splitext(os.path.basename(sys.argv[0]))[0])) + sys.exit(0) if options.zulip_client is not None: client = options.zulip_client