From f74c6fe709dce7434d7981fafce56a63dd6b2aaf Mon Sep 17 00:00:00 2001 From: rajat29 Date: Tue, 5 Sep 2017 12:35:51 +0530 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: Ibe6a0a8eda9214d76b6420f5a9d6d233133ee6d2 --- 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 88b1963..ae4ecfe 100644 --- a/tools/install_venv.py +++ b/tools/install_venv.py @@ -33,7 +33,7 @@ def print_help(venv, root): To activate the OpenStack virtualenv for the extent of your current shell session you can run: - $ source %s/bin/activate + $ . %s/bin/activate Or, if you prefer, you can run commands in the virtualenv on a case by case basis by running: