Don't use a dict comprehension, be more verbose

pull/18777/head
Matt Martz 10 years ago committed by Matt Clay
parent a014bde3f0
commit 0b4fec0a06

@ -242,8 +242,10 @@ def transform_headers(headers):
:rtype: dict
"""
return {key: str(value) for key, value in headers.items()}
for key, value in headers.items():
headers[key] = str(value)
return headers
def upload_gsfile(module, gs, bucket, obj, src, expiry):
try:

Loading…
Cancel
Save