libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject [1/6] libcloud git commit: fix linting Closes #795 Closes #801
Date Mon, 06 Jun 2016 12:42:56 GMT
Repository: libcloud
Updated Branches:
  refs/heads/trunk eefed81a2 -> 8d755bfc0


fix linting Closes #795   Closes #801


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

Branch: refs/heads/trunk
Commit: a2f0c2b16d96f2dacf2b056439b6bc2b128cc6bf
Parents: 5b17053
Author: anthony-shaw <anthonyshaw@apache.org>
Authored: Fri May 27 17:19:48 2016 +1000
Committer: anthony-shaw <anthonyshaw@apache.org>
Committed: Mon Jun 6 22:41:14 2016 +1000

----------------------------------------------------------------------
 libcloud/backup/drivers/dimensiondata.py       | 3 ++-
 libcloud/compute/drivers/dimensiondata.py      | 3 ++-
 libcloud/loadbalancer/drivers/dimensiondata.py | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/a2f0c2b1/libcloud/backup/drivers/dimensiondata.py
----------------------------------------------------------------------
diff --git a/libcloud/backup/drivers/dimensiondata.py b/libcloud/backup/drivers/dimensiondata.py
index 53d054e..414d1c8 100644
--- a/libcloud/backup/drivers/dimensiondata.py
+++ b/libcloud/backup/drivers/dimensiondata.py
@@ -57,7 +57,8 @@ class DimensionDataBackupDriver(BackupDriver):
                  api_version=None, region=DEFAULT_REGION, **kwargs):
 
         if region not in API_ENDPOINTS and host is None:
-            raise ValueError('Invalid region: %s, no host specified' % (region))
+            raise ValueError(
+                'Invalid region: %s, no host specified' % (region))
         if region is not None:
             self.selected_region = API_ENDPOINTS[region]
 

http://git-wip-us.apache.org/repos/asf/libcloud/blob/a2f0c2b1/libcloud/compute/drivers/dimensiondata.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/dimensiondata.py b/libcloud/compute/drivers/dimensiondata.py
index 56935b6..d3ded7f 100644
--- a/libcloud/compute/drivers/dimensiondata.py
+++ b/libcloud/compute/drivers/dimensiondata.py
@@ -101,7 +101,8 @@ class DimensionDataNodeDriver(NodeDriver):
                  api_version=None, region=DEFAULT_REGION, **kwargs):
 
         if region not in API_ENDPOINTS and host is None:
-            raise ValueError('Invalid region: %s, no host specified' % (region))
+            raise ValueError(
+                'Invalid region: %s, no host specified' % (region))
         if region is not None:
             self.selected_region = API_ENDPOINTS[region]
 

http://git-wip-us.apache.org/repos/asf/libcloud/blob/a2f0c2b1/libcloud/loadbalancer/drivers/dimensiondata.py
----------------------------------------------------------------------
diff --git a/libcloud/loadbalancer/drivers/dimensiondata.py b/libcloud/loadbalancer/drivers/dimensiondata.py
index 40a7aa0..eed15b4 100644
--- a/libcloud/loadbalancer/drivers/dimensiondata.py
+++ b/libcloud/loadbalancer/drivers/dimensiondata.py
@@ -76,7 +76,8 @@ class DimensionDataLBDriver(Driver):
                  api_version=None, region=DEFAULT_REGION, **kwargs):
 
         if region not in API_ENDPOINTS and host is None:
-            raise ValueError('Invalid region: %s, no host specified' % (region))
+            raise ValueError(
+                'Invalid region: %s, no host specified' % (region))
         if region is not None:
             self.selected_region = API_ENDPOINTS[region]
 


Mime
View raw message