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 2015/03/28 15:51:32 UTC

[15/16] 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/9ea27ca3
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/9ea27ca3
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/9ea27ca3

Branch: refs/heads/trunk
Commit: 9ea27ca3bbebe77a1fd56ecf563392fd03aff17c
Parents: 9b82f0a
Author: Tomaz Muraus <to...@apache.org>
Authored: Sat Mar 14 23:53:58 2015 +0100
Committer: Tomaz Muraus <to...@apache.org>
Committed: Sat Mar 14 23:53:58 2015 +0100

----------------------------------------------------------------------
 libcloud/common/aws.py | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/9ea27ca3/libcloud/common/aws.py
----------------------------------------------------------------------
diff --git a/libcloud/common/aws.py b/libcloud/common/aws.py
index 513e821..45239e6 100644
--- a/libcloud/common/aws.py
+++ b/libcloud/common/aws.py
@@ -187,9 +187,10 @@ class AWSRequestSignerAlgorithmV2(AWSRequestSigner):
         params['Version'] = self.version
         params['Timestamp'] = time.strftime('%Y-%m-%dT%H:%M:%SZ',
                                             time.gmtime())
-        params['Signature'] = self._get_aws_auth_param(params=params,
-                                                       secret_key=self.access_secret,
-                                                       path=path)
+        params['Signature'] = self._get_aws_auth_param(
+            params=params,
+            secret_key=self.access_secret,
+            path=path)
         return params
 
     def _get_aws_auth_param(self, params, secret_key, path='/'):