From 92248c6acc98631fe7431bcb40748a0a3e4cb882 Mon Sep 17 00:00:00 2001 From: rajat29 Date: Wed, 6 Sep 2017 12:17:26 +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: I0678e5c8b2aa7634901887549efc060f7a548ffe --- 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 b7b93a24..8dc175fe 100644 --- a/tools/install_venv.py +++ b/tools/install_venv.py @@ -34,7 +34,7 @@ def print_help(venv, root): To activate the Murano agent 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: