From 18712227965b094c6bf86be99f73b21f6f490d94 Mon Sep 17 00:00:00 2001 From: XieYingYun Date: Fri, 1 Sep 2017 02:32:47 -0700 Subject: [PATCH] Fix to use . to source script files Adhering to coding conventions. Refer to ``Code conventions`` at https://docs.openstack.org/contributor-guide/ for details. When you have to source a script file, for example, a credentials file to gain access to user-only or admin-only CLI commands, use . instead of source. https://docs.openstack.org/contributor-guide/writing-style/code-conventions.html Change-Id: I0a94ef88f4cae0b5c8fd6865c510342fd211779b --- tools/install_venv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/install_venv.py b/tools/install_venv.py index 40e597e20..8313474d1 100644 --- a/tools/install_venv.py +++ b/tools/install_venv.py @@ -40,7 +40,7 @@ def print_help(): To activate the Tacker virtualenv for the extent of your current shell session you can run: - $ source .venv/bin/activate + $ . .venv/bin/activate Or, if you prefer, you can run commands in the virtualenv on a case by case basis by running: