libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vd...@apache.org
Subject [01/23] libcloud git commit: Fix OpenStackException issue
Date Tue, 04 Dec 2018 08:54:16 GMT
Repository: libcloud
Updated Branches:
  refs/heads/trunk cd2faa7f9 -> a4d0081b2


Fix OpenStackException issue


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/85b6f4a2
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/85b6f4a2
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/85b6f4a2

Branch: refs/heads/trunk
Commit: 85b6f4a29c91dca6631dbff7cc25225f60cb70ba
Parents: 6df2a52
Author: micafer <micafer1@upv.es>
Authored: Thu Nov 29 08:16:38 2018 +0100
Committer: Rick van de Loo <rickvandeloo@gmail.com>
Committed: Tue Dec 4 09:45:48 2018 +0100

----------------------------------------------------------------------
 libcloud/compute/drivers/openstack.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/85b6f4a2/libcloud/compute/drivers/openstack.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/openstack.py b/libcloud/compute/drivers/openstack.py
index 71bef6a..5a64f26 100644
--- a/libcloud/compute/drivers/openstack.py
+++ b/libcloud/compute/drivers/openstack.py
@@ -1168,7 +1168,8 @@ class OpenStackSecurityGroupRule(object):
                 self.direction = direction
             else:
                 raise OpenStackException("Security group direction incorrect "
-                                         "value: ingress or egress.")
+                                         "value: ingress or egress.", 500,
+                                         driver)
 
         self.tenant_id = tenant_id
         self.extra = extra or {}


Mime
View raw message