Merge "Fix minor bug in openmano client with subcommand vim-image-list" into v1.1
authortierno <alfonso.tiernosepulveda@telefonica.com>
Tue, 24 Jan 2017 17:27:13 +0000 (18:27 +0100)
committerGerrit Code Review <root@osm.etsi.org>
Tue, 24 Jan 2017 17:27:14 +0000 (18:27 +0100)
vimconn_vmware.py

index 45b27fb..f986218 100644 (file)
@@ -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