aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVenkata Harshavardhan Reddy Allu <venkataharshavardhan_ven@srmuniv.edu.in>2018-07-19 21:58:11 +0530
committerVenkata Harshavardhan Reddy Allu <venkataharshavardhan_ven@srmuniv.edu.in>2018-07-19 22:06:18 +0530
commit8d4bbbb2d00726f0308311e61127fe53ac595322 (patch)
treeb0fd02206f2e0bd91aa225e56e6b7cbcf28f249e
parente5d90a850366caa01f8a34563a5303c6cfe5f011 (diff)
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 <venkataharshavardhan_ven@srmuniv.edu.in>
-rw-r--r--sfc/lib/openstack_utils.py2
1 files changed, 1 insertions, 1 deletions
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':