libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [4/6] libcloud git commit: fix(): miltiple spaces after keyword
Date Sat, 02 Jul 2016 09:53:26 GMT
fix(): miltiple spaces after keyword

Closes #820

Signed-off-by: Tomaz Muraus <tomaz@tomaz.me>


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

Branch: refs/heads/trunk
Commit: 579da8718feaae6083f44f6cf8b5c72716e75fc1
Parents: 74b5469
Author: Alejandro González <alejandro.gonzalez@intelygenz.com>
Authored: Thu Jun 30 09:07:33 2016 +0200
Committer: Tomaz Muraus <tomaz@tomaz.me>
Committed: Sat Jul 2 11:42:45 2016 +0200

----------------------------------------------------------------------
 libcloud/compute/drivers/ec2.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/579da871/libcloud/compute/drivers/ec2.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/ec2.py b/libcloud/compute/drivers/ec2.py
index 0724c87..93857ef 100644
--- a/libcloud/compute/drivers/ec2.py
+++ b/libcloud/compute/drivers/ec2.py
@@ -5435,7 +5435,7 @@ class BaseEC2NodeDriver(NodeDriver):
 
     def _ex_connection_class_kwargs(self):
         kwargs = super(BaseEC2NodeDriver, self)._ex_connection_class_kwargs()
-        if hasattr(self, 'token') and  self.token is not None:
+        if hasattr(self, 'token') and self.token is not None:
             kwargs['token'] = self.token
             # Force signature_version 4 for tokens or auth breaks
             kwargs['signature_version'] = '4'


Mime
View raw message