1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Don't use a dict comprehension, be more verbose

This commit is contained in:
Matt Martz 2015-04-03 16:35:16 -05:00 committed by Matt Clay
parent a014bde3f0
commit 0b4fec0a06

View file

@ -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):
try: