From 04362a037dae331cd5f0d703d65ba3e104938b0a Mon Sep 17 00:00:00 2001 From: XieYingYun Date: Tue, 5 Sep 2017 20:01:01 -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: I0c18ce6c3e217fac7b9dc97964f22624ab0f1f3b --- 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 8e7acfe8be..bdf238a751 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: