summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--awsauth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/awsauth.py b/awsauth.py
index 1c71faf..b444f01 100644
--- a/awsauth.py
+++ b/awsauth.py
@@ -146,6 +146,6 @@ class S3Auth(AuthBase):
# if we sign the request with the encoded value the signature will
# not be valid, we'll get 403 Access Denied.
# So we unquote, this is no-op if the value isn't encoded.
- buf += '{}={}'.format(k, urllib.unquote(v))
+ buf += '{key}={value}'.format(key=k, value=urlparse.unquote(v))
return buf