Updated Branches: refs/heads/trunk 2d42e94da -> 0f20da9d1
Fix EC2 tests on python 3.2 Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/0f20da9d Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/0f20da9d Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/0f20da9d Branch: refs/heads/trunk Commit: 0f20da9d12a7fd0a75563a202e13dd77f9fdc95f Parents: 2d42e94 Author: John Carr <[email protected]> Authored: Thu Aug 15 12:24:56 2013 +0100 Committer: John Carr <[email protected]> Committed: Thu Aug 15 12:24:56 2013 +0100 ---------------------------------------------------------------------- libcloud/compute/drivers/ec2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/0f20da9d/libcloud/compute/drivers/ec2.py ---------------------------------------------------------------------- diff --git a/libcloud/compute/drivers/ec2.py b/libcloud/compute/drivers/ec2.py index cc3fb98..f2b1109 100644 --- a/libcloud/compute/drivers/ec2.py +++ b/libcloud/compute/drivers/ec2.py @@ -758,7 +758,7 @@ class BaseEC2NodeDriver(NodeDriver): @rtype: C{dict} """ - base64key = base64.b64encode(key_material) + base64key = base64.b64encode(b(key_material)) params = { 'Action': 'ImportKeyPair',
