Make linter happy
Closes #1056

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

Branch: refs/heads/trunk
Commit: 10c423966a47becedd14b5b0a44af2a537195456
Parents: fc359ea
Author: Francisco Ros <fj...@doalitic.com>
Authored: Tue May 9 13:05:08 2017 +0200
Committer: Anthony Shaw <anthonys...@apache.org>
Committed: Sat Jun 24 19:45:01 2017 +1000

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


http://git-wip-us.apache.org/repos/asf/libcloud/blob/10c42396/libcloud/compute/drivers/ec2.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/ec2.py b/libcloud/compute/drivers/ec2.py
index 5a4cee9..5b3e7c9 100644
--- a/libcloud/compute/drivers/ec2.py
+++ b/libcloud/compute/drivers/ec2.py
@@ -3042,7 +3042,9 @@ VOLUME_MODIFICATION_ATTRIBUTE_MAP = {
 }
 
 VALID_EC2_REGIONS = REGION_DETAILS.keys()
-VALID_EC2_REGIONS = [r for r in VALID_EC2_REGIONS if r != 'nimbus' and r != 
'cn-north-1']
+VALID_EC2_REGIONS = [
+    r for r in VALID_EC2_REGIONS if r != 'nimbus' and r != 'cn-north-1'
+]
 VALID_VOLUME_TYPES = ['standard', 'io1', 'gp2', 'st1', 'sc1']
 
 

Reply via email to