Changes in vimconn_vmware.py: Addressed code review changes to add raise keyword
Change-Id: I3abec6cd31c591cefeb362b88177e15cca51be9e
Signed-off-by: kate <akate@vmware.com>
diff --git a/vimconn_vmware.py b/vimconn_vmware.py
index 45b27fb..f986218 100644
--- a/vimconn_vmware.py
+++ b/vimconn_vmware.py
@@ -1107,7 +1107,7 @@
self.logger.debug("List of already created catalog items: {}".format(image_list))
return image_list
except Exception as exp:
- vimconn.vimconnException("Exception occured while retriving catalog items {}".format(exp))
+ raise vimconn.vimconnException("Exception occured while retriving catalog items {}".format(exp))
def get_vappid(self, vdc=None, vapp_name=None):
""" Method takes vdc object and vApp name and returns vapp uuid or None