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/07/02 09:53:26 UTC

[4/6] libcloud git commit: fix(): miltiple spaces after keyword

fix(): miltiple spaces after keyword

Closes #820

Signed-off-by: Tomaz Muraus <to...@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 <al...@intelygenz.com>
Authored: Thu Jun 30 09:07:33 2016 +0200
Committer: Tomaz Muraus <to...@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'