From 320bb4c14fbf737f0c405f5c42fe0e0419030ee2 Mon Sep 17 00:00:00 2001 From: melissaml Date: Tue, 29 Aug 2017 02:42:07 +0800 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. Change-Id: Ie6b7d00e63acba0ffd8b27acd791fdb0b08417fe --- doc/source/cli/watcher.rst | 2 +- watcherclient/tests/README.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/cli/watcher.rst b/doc/source/cli/watcher.rst index 4500098..3e7e9ac 100644 --- a/doc/source/cli/watcher.rst +++ b/doc/source/cli/watcher.rst @@ -55,7 +55,7 @@ fill partially typed commands. To use this feature, source the below file https://git.openstack.org/cgit/openstack/python-watcherclient/tree/tools/watcher.bash_completion) to your terminal and then bash completion should work:: - $ source watcher.bash_completion + $ . watcher.bash_completion To avoid doing this every time, add this to your ``.bashrc`` or copy the watcher.bash_completion file to the default bash completion scripts directory diff --git a/watcherclient/tests/README.rst b/watcherclient/tests/README.rst index 9b7344b..7600e1f 100644 --- a/watcherclient/tests/README.rst +++ b/watcherclient/tests/README.rst @@ -26,7 +26,7 @@ You need to install virtualenv, create a virtual environment and activate it:: $ pip install virtualenv $ virtualenv watcher-env - $ source watcher-env/bin/activate + $ . watcher-env/bin/activate Then, to install Tempest you can issue the following commands::