From 8d4bbbb2d00726f0308311e61127fe53ac595322 Mon Sep 17 00:00:00 2001 From: Venkata Harshavardhan Reddy Allu Date: Thu, 19 Jul 2018 21:58:11 +0530 Subject: Added parentheses in 'openstack_utils.py' line#476 Parentheses were added around the arguments in line#476 for proper formatting the Exception message in line#475 Change-Id: I3b2233aea10ff5afd23da00a837b976456274a51 Signed-off-by: Venkata Harshavardhan Reddy Allu --- sfc/lib/openstack_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfc/lib/openstack_utils.py b/sfc/lib/openstack_utils.py index 09b93f37..b8deb144 100644 --- a/sfc/lib/openstack_utils.py +++ b/sfc/lib/openstack_utils.py @@ -473,7 +473,7 @@ def wait_for_vnf(tacker_client, vnf_id=None, vnf_name=None, timeout=100): vnf = get_vnf(tacker_client, vnf_id, vnf_name) if vnf is None: raise Exception("Could not retrieve VNF - id='%s', name='%s'" - % vnf_id, vnf_name) + % (vnf_id, vnf_name)) logger.info('Waiting for vnf {0}'.format(str(vnf))) while vnf['status'] != 'ACTIVE' and timeout >= 0: if vnf['status'] == 'ERROR': -- cgit 1.2.3-korg