From 52c088c85470057ffc4f974a98b74a9f6ec62f40 Mon Sep 17 00:00:00 2001 From: ashishk1994 Date: Tue, 20 Dec 2016 20:59:49 +0530 Subject: Bugfix in passing parameters to logger_debug. JIRA: FUNCTEST-675 Change-Id: I342d51391323dd1ffe516d8dbc13b2d543374a3e Signed-off-by: ashishk1994 --- functest/ci/prepare_env.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'functest/ci') diff --git a/functest/ci/prepare_env.py b/functest/ci/prepare_env.py index 3a99d3ba..41cbbe09 100755 --- a/functest/ci/prepare_env.py +++ b/functest/ci/prepare_env.py @@ -27,6 +27,8 @@ import functest.utils.functest_utils as ft_utils import functest.utils.openstack_utils as os_utils import functest.utils.functest_constants as ft_constants +from opnfv.utils import constants as opnfv_constants + actions = ['start', 'check'] parser = argparse.ArgumentParser() parser.add_argument("action", help="Possible actions are: " @@ -136,7 +138,9 @@ def source_rc_file(): if ft_constants.CI_INSTALLER_TYPE not in ft_constants.INSTALLERS: logger.error("Cannot fetch credentials. INSTALLER_TYPE=%s is " "not a valid OPNFV installer. Available " - "installers are : %s." % ft_constants.INSTALLERS) + "installers are : %s." % + (ft_constants.CI_INSTALLER_TYPE, + opnfv_constants.INSTALLERS)) sys.exit("Wrong INSTALLER_TYPE.") cmd = ("/home/opnfv/repos/releng/utils/fetch_os_creds.sh " -- cgit 1.2.3-korg