From 402d2482b31d4e4062c9432f0f5c8935f1af678a Mon Sep 17 00:00:00 2001 From: XieYingYun Date: Fri, 1 Sep 2017 02:24:39 -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: I1ff56e0775da68e43a691f7f25b3a4ce7930406a --- 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 a33664930e8..ae4214c44bc 100644 --- a/tools/install_venv.py +++ b/tools/install_venv.py @@ -39,7 +39,7 @@ def print_help(): To activate the Neutron 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: