From: kate Date: Tue, 24 Jan 2017 15:26:52 +0000 (-0800) Subject: Changes in vimconn_vmware.py: Addressed code review changes to add raise keyword X-Git-Tag: v1.1.0~16 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F04%2F1004%2F1;p=osm%2FRO.git Changes in vimconn_vmware.py: Addressed code review changes to add raise keyword Change-Id: I3abec6cd31c591cefeb362b88177e15cca51be9e Signed-off-by: kate --- diff --git a/vimconn_vmware.py b/vimconn_vmware.py index 45b27fb0..f9862183 100644 --- a/vimconn_vmware.py +++ b/vimconn_vmware.py @@ -1107,7 +1107,7 @@ class vimconnector(vimconn.vimconnector): 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