You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by pq...@apache.org on 2010/01/05 03:18:11 UTC
svn commit: r895858 - /incubator/libcloud/trunk/libcloud/drivers/ec2.py
Author: pquerna
Date: Tue Jan 5 02:18:09 2010
New Revision: 895858
URL: http://svn.apache.org/viewvc?rev=895858&view=rev
Log:
Fix epytext error 'Improper paragraph indentation.'
Modified:
incubator/libcloud/trunk/libcloud/drivers/ec2.py
Modified: incubator/libcloud/trunk/libcloud/drivers/ec2.py
URL: http://svn.apache.org/viewvc/incubator/libcloud/trunk/libcloud/drivers/ec2.py?rev=895858&r1=895857&r2=895858&view=diff
==============================================================================
--- incubator/libcloud/trunk/libcloud/drivers/ec2.py (original)
+++ incubator/libcloud/trunk/libcloud/drivers/ec2.py Tue Jan 5 02:18:09 2010
@@ -123,13 +123,13 @@
def _get_aws_auth_param(self, params, secret_key, path='/'):
"""
creates the signature required for AWS, per:
-
http://docs.amazonwebservices.com/AWSEC2/2009-04-04/DeveloperGuide/index.html?using-query-api.html#query-authentication
-
- StringToSign = HTTPVerb + "\n" +
- ValueOfHostHeaderInLowercase + "\n" +
- HTTPRequestURI + "\n" +
- CanonicalizedQueryString <from the preceding step>
+ """
+ """
+ StringToSign = HTTPVerb + "\n" +
+ ValueOfHostHeaderInLowercase + "\n" +
+ HTTPRequestURI + "\n" +
+ CanonicalizedQueryString <from the preceding step>
"""
keys = params.keys()
keys.sort()