summaryrefslogtreecommitdiffstats
path: root/functest/cli/commands/cli_os.py
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-12-05 14:44:51 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-12-05 14:44:51 +0000
commit4d8205412586812dc9523988aad66cf9e000e31e (patch)
tree198f4976bb1f0263e41cb1a1cd9d4db4439914c3 /functest/cli/commands/cli_os.py
parent122445d0b7b3836a3617905ab1c293412983c394 (diff)
parentd13fac5935bb3fe573dc9a79e06b8cffde37712e (diff)
Merge "Fix Pep8 issues related to \"
Diffstat (limited to 'functest/cli/commands/cli_os.py')
-rw-r--r--functest/cli/commands/cli_os.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/functest/cli/commands/cli_os.py b/functest/cli/commands/cli_os.py
index 140be191..bb859219 100644
--- a/functest/cli/commands/cli_os.py
+++ b/functest/cli/commands/cli_os.py
@@ -68,10 +68,11 @@ class CliOpenStack:
if CI_INSTALLER_IP is None:
click.echo("The environment variable 'INSTALLER_IP' is not"
"defined. Please export it")
- cmd = ft_constants.REPOS_DIR + \
- ("/releng/utils/fetch_os_creds.sh "
- "-d %s -i %s -a %s"
- % (OPENSTACK_RC_FILE, CI_INSTALLER_TYPE, CI_INSTALLER_IP))
+ cmd = ("%s/releng/utils/fetch_os_creds.sh -d %s -i %s -a %s"
+ % (ft_constants.REPOS_DIR,
+ OPENSTACK_RC_FILE,
+ CI_INSTALLER_TYPE,
+ CI_INSTALLER_IP))
click.echo("Fetching credentials from installer node '%s' with IP=%s.."
% (CI_INSTALLER_TYPE, CI_INSTALLER_IP))
ft_utils.execute_command(cmd, verbose=False)