You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by al...@apache.org on 2015/05/15 15:37:57 UTC

[1/2] libcloud git commit: [LIBCLOUD-712] Use get() to take signature version

Repository: libcloud
Updated Branches:
  refs/heads/trunk 1e3d3cbc6 -> 59cfd4fda


[LIBCLOUD-712] Use get() to take signature version

The pop() call will remove the field from the REGION_DETAILS dictionary,
causing subsequent calls to use the default value.


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

Branch: refs/heads/trunk
Commit: 8f2af00087fb2fb7617ecb7261af67a6c1cf0a50
Parents: cfd815e
Author: Maarten van Schaik <ma...@byte.nl>
Authored: Fri May 15 13:54:12 2015 +0200
Committer: Maarten van Schaik <ma...@byte.nl>
Committed: Fri May 15 13:55:55 2015 +0200

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


http://git-wip-us.apache.org/repos/asf/libcloud/blob/8f2af000/libcloud/compute/drivers/ec2.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/ec2.py b/libcloud/compute/drivers/ec2.py
index 5c4763e..9930f73 100644
--- a/libcloud/compute/drivers/ec2.py
+++ b/libcloud/compute/drivers/ec2.py
@@ -5659,7 +5659,7 @@ class EC2NodeDriver(BaseEC2NodeDriver):
         self.region_name = region
         self.api_name = details['api_name']
         self.country = details['country']
-        self.signature_version = details.pop('signature_version',
+        self.signature_version = details.get('signature_version',
                                              DEFAULT_SIGNATURE_VERSION)
 
         host = host or details['endpoint']


[2/2] libcloud git commit: Merge LIBCLOUD-712_fix-ec2-sigver into trunk

Posted by al...@apache.org.
Merge LIBCLOUD-712_fix-ec2-sigver into trunk

closes #712


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

Branch: refs/heads/trunk
Commit: 59cfd4fda8bde20a6d9b9f8e18703115c0fe0105
Parents: 1e3d3cb 8f2af00
Author: Allard Hoeve <al...@byte.nl>
Authored: Fri May 15 15:37:00 2015 +0200
Committer: Allard Hoeve <al...@byte.nl>
Committed: Fri May 15 15:37:00 2015 +0200

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