Don't use a dict comprehension, be more verbose
This commit is contained in:
parent
a014bde3f0
commit
0b4fec0a06
1 changed files with 4 additions and 2 deletions
|
@ -243,7 +243,9 @@ def transform_headers(headers):
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
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):
|
def upload_gsfile(module, gs, bucket, obj, src, expiry):
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue