summaryrefslogtreecommitdiff
path: root/boto/auth.py
diff options
context:
space:
mode:
authorOri Avtalion <ori@avtalion.name>2014-07-08 18:58:08 +0300
committerOri Avtalion <ori@avtalion.name>2014-07-08 18:58:08 +0300
commitc18c68d4c92888db563a8c90580801836847822e (patch)
treed7d5d02418a61a456b76417c5dae60b4ab1a614a /boto/auth.py
parent2880f91361125f199ceb38f5a0a12bb646aa21e0 (diff)
downloadboto-c18c68d4c92888db563a8c90580801836847822e.tar.gz
Remove redundant lines in auth.py
Diffstat (limited to 'boto/auth.py')
-rw-r--r--boto/auth.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/boto/auth.py b/boto/auth.py
index 9e0934bf..6d431461 100644
--- a/boto/auth.py
+++ b/boto/auth.py
@@ -313,7 +313,6 @@ class HmacAuthV4Handler(AuthHandler, HmacKeys):
in the StringToSign.
"""
host_header_value = self.host_header(self.host, http_request)
- headers_to_sign = {}
headers_to_sign = {'Host': host_header_value}
for name, value in http_request.headers.items():
lname = name.lower()
@@ -563,7 +562,6 @@ class S3HmacAuthV4Handler(HmacAuthV4Handler, AuthHandler):
in the StringToSign.
"""
host_header_value = self.host_header(self.host, http_request)
- headers_to_sign = {}
headers_to_sign = {'Host': host_header_value}
for name, value in http_request.headers.items():
lname = name.lower()