You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2016/04/06 17:17:44 UTC

[12/15] libcloud git commit: Fix lint.

Fix lint.


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

Branch: refs/heads/trunk
Commit: eae0ee009f18063cb560237d99016eb621c5c4ca
Parents: 3cb03eb
Author: Tomaz Muraus <to...@tomaz.me>
Authored: Thu Mar 31 19:38:16 2016 -0700
Committer: Tomaz Muraus <to...@tomaz.me>
Committed: Thu Mar 31 19:38:16 2016 -0700

----------------------------------------------------------------------
 contrib/generate_provider_feature_matrix_table.py | 2 +-
 libcloud/loadbalancer/drivers/rackspace.py        | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/eae0ee00/contrib/generate_provider_feature_matrix_table.py
----------------------------------------------------------------------
diff --git a/contrib/generate_provider_feature_matrix_table.py b/contrib/generate_provider_feature_matrix_table.py
index c0c5320..07404cc 100755
--- a/contrib/generate_provider_feature_matrix_table.py
+++ b/contrib/generate_provider_feature_matrix_table.py
@@ -274,7 +274,7 @@ def generate_providers_table(api):
 
         try:
             cls = get_driver_method(enum)
-        except Exception as e:
+        except Exception:
             # Deprecated providers throw an exception
             print('Ignoring deprecated constant "%s"' % (enum))
             continue

http://git-wip-us.apache.org/repos/asf/libcloud/blob/eae0ee00/libcloud/loadbalancer/drivers/rackspace.py
----------------------------------------------------------------------
diff --git a/libcloud/loadbalancer/drivers/rackspace.py b/libcloud/loadbalancer/drivers/rackspace.py
index a24e516..db30f85 100644
--- a/libcloud/loadbalancer/drivers/rackspace.py
+++ b/libcloud/loadbalancer/drivers/rackspace.py
@@ -324,6 +324,7 @@ class RackspaceLBDriver(Driver, OpenStackDriverMixin):
         super(RackspaceLBDriver, self).__init__(key=key, secret=secret,
                                                 secure=secure, host=host,
                                                 port=port, region=region)
+
     @classmethod
     def list_regions(cls):
         return ENDPOINT_ARGS_MAP.keys()